mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
feat: Implement local question saving feature for unauthenticated users
- Added functionality to automatically save questions sent by unauthenticated users to local storage using VueUse's useStorage. - Introduced a local history button to display the number of saved questions. - Created a drawer component to view, delete, and clear local question records. - Enhanced the question form with options for anonymous name and email input. - Updated UI components and styles for better user experience. - Added tests and documentation for the new feature.
This commit is contained in:
@@ -391,6 +391,8 @@ export interface QAInfo {
|
||||
|
||||
tag?: string
|
||||
reviewResult?: QAReviewInfo
|
||||
anonymousName?: string
|
||||
anonymousEmail?: string
|
||||
}
|
||||
export interface LotteryUserInfo {
|
||||
name: string
|
||||
@@ -829,7 +831,7 @@ export interface ResponsePointHisrotyModel {
|
||||
createAt: number
|
||||
count: number
|
||||
|
||||
extra?: any
|
||||
extra?: any // Use 时包含: { user, goods, isDiscontinued, remark }; Manual 时包含: { user, reason }; Danmaku 时包含: { user, danmaku }; CheckIn 时包含: { user }
|
||||
}
|
||||
|
||||
export enum PointFrom {
|
||||
|
||||
Reference in New Issue
Block a user