Skip to content

Commit 042ff4e

Browse files
committed
🏷️ Add editPageValueType
1 parent f64be55 commit 042ff4e

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/pages/edit/index.vue

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ type DataType = {
148148
classData: typeof vxm.classData
149149
editingMode: boolean
150150
editingVisibilityMode: boolean
151-
editPageValue: object
151+
editPageValue: editPageValueType
152152
editVisibilityDialogValue: object
153153
}
154154
@@ -158,6 +158,25 @@ type Computed = {
158158
lessonsGroupByPeriod: LessonsGroupedBy
159159
}
160160
161+
type editPageValueType = {
162+
isHidden: boolean
163+
lessonId: string
164+
date: string
165+
startTime: string
166+
endTime: string
167+
title: string
168+
subjectName: string
169+
subjectColor: string
170+
goal: string
171+
description: string
172+
videoUrl: string
173+
videoTitle: string
174+
videoThumbnailUrl: string
175+
pages: string
176+
materialsTitle: string
177+
materialsUrl: string
178+
}
179+
161180
const editPageValueDefault = {
162181
isHidden: false,
163182
lessonId: '',

0 commit comments

Comments
 (0)