diff --git a/server/src/modules/workspace/controllers/workspace.controller.ts b/server/src/modules/workspace/controllers/workspace.controller.ts
index 87669803..fad75ca9 100644
--- a/server/src/modules/workspace/controllers/workspace.controller.ts
+++ b/server/src/modules/workspace/controllers/workspace.controller.ts
@@ -172,7 +172,6 @@ export class WorkspaceController {
pre[id] = cur;
return pre;
}, {});
-
const surveyTotalList = await Promise.all(
workspaceIdList.map((item) => {
return this.surveyMetaService.countSurveyMetaByWorkspaceId({
diff --git a/web/components.d.ts b/web/components.d.ts
index 95a5e97a..5e2914cc 100644
--- a/web/components.d.ts
+++ b/web/components.d.ts
@@ -7,67 +7,67 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
- ElButton: typeof import('element-plus/es')['ElButton']
- ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
- ElCollapse: typeof import('element-plus/es')['ElCollapse']
- ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
- ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
- ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
- ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
- ElDialog: typeof import('element-plus/es')['ElDialog']
- ElForm: typeof import('element-plus/es')['ElForm']
- ElFormItem: typeof import('element-plus/es')['ElFormItem']
- ElInput: typeof import('element-plus/es')['ElInput']
- ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
- ElMenu: typeof import('element-plus/es')['ElMenu']
- ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
- ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup']
- ElOption: typeof import('element-plus/es')['ElOption']
- ElPagination: typeof import('element-plus/es')['ElPagination']
- ElPopover: typeof import('element-plus/es')['ElPopover']
- ElRadio: typeof import('element-plus/es')['ElRadio']
- ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
- ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
- ElRow: typeof import('element-plus/es')['ElRow']
- ElSegmented: typeof import('element-plus/es')['ElSegmented']
- ElSelect: typeof import('element-plus/es')['ElSelect']
- ElSelectV2: typeof import('element-plus/es')['ElSelectV2']
- ElSlider: typeof import('element-plus/es')['ElSlider']
- ElSwitch: typeof import('element-plus/es')['ElSwitch']
- ElTable: typeof import('element-plus/es')['ElTable']
- ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
- ElTabPane: typeof import('element-plus/es')['ElTabPane']
- ElTabs: typeof import('element-plus/es')['ElTabs']
- ElTag: typeof import('element-plus/es')['ElTag']
- ElTimePicker: typeof import('element-plus/es')['ElTimePicker']
- ElTooltip: typeof import('element-plus/es')['ElTooltip']
- IEpBottom: typeof import('~icons/ep/bottom')['default']
- IEpCheck: typeof import('~icons/ep/check')['default']
- IEpCirclePlus: typeof import('~icons/ep/circle-plus')['default']
- IEpClose: typeof import('~icons/ep/close')['default']
- IEpConnection: typeof import('~icons/ep/connection')['default']
- IEpCopyDocument: typeof import('~icons/ep/copy-document')['default']
- IEpDelete: typeof import('~icons/ep/delete')['default']
- IEpIphone: typeof import('~icons/ep/iphone')['default']
- IEpLoading: typeof import('~icons/ep/loading')['default']
- IEpMinus: typeof import('~icons/ep/minus')['default']
- IEpMonitor: typeof import('~icons/ep/monitor')['default']
- IEpMore: typeof import('~icons/ep/more')['default']
- IEpPlus: typeof import('~icons/ep/plus')['default']
- IEpQuestionFilled: typeof import('~icons/ep/question-filled')['default']
- IEpRank: typeof import('~icons/ep/rank')['default']
- IEpRemove: typeof import('~icons/ep/remove')['default']
- IEpSearch: typeof import('~icons/ep/search')['default']
- IEpSort: typeof import('~icons/ep/sort')['default']
- IEpSortDown: typeof import('~icons/ep/sort-down')['default']
- IEpSortUp: typeof import('~icons/ep/sort-up')['default']
- IEpTop: typeof import('~icons/ep/top')['default']
- IEpView: typeof import('~icons/ep/view')['default']
- IEpWarningFilled: typeof import('~icons/ep/warning-filled')['default']
- RouterLink: typeof import('vue-router')['RouterLink']
- RouterView: typeof import('vue-router')['RouterView']
+ ElButton: (typeof import('element-plus/es'))['ElButton']
+ ElCheckbox: (typeof import('element-plus/es'))['ElCheckbox']
+ ElCollapse: (typeof import('element-plus/es'))['ElCollapse']
+ ElCollapseItem: (typeof import('element-plus/es'))['ElCollapseItem']
+ ElColorPicker: (typeof import('element-plus/es'))['ElColorPicker']
+ ElConfigProvider: (typeof import('element-plus/es'))['ElConfigProvider']
+ ElDatePicker: (typeof import('element-plus/es'))['ElDatePicker']
+ ElDialog: (typeof import('element-plus/es'))['ElDialog']
+ ElForm: (typeof import('element-plus/es'))['ElForm']
+ ElFormItem: (typeof import('element-plus/es'))['ElFormItem']
+ ElInput: (typeof import('element-plus/es'))['ElInput']
+ ElInputNumber: (typeof import('element-plus/es'))['ElInputNumber']
+ ElMenu: (typeof import('element-plus/es'))['ElMenu']
+ ElMenuItem: (typeof import('element-plus/es'))['ElMenuItem']
+ ElMenuItemGroup: (typeof import('element-plus/es'))['ElMenuItemGroup']
+ ElOption: (typeof import('element-plus/es'))['ElOption']
+ ElPagination: (typeof import('element-plus/es'))['ElPagination']
+ ElPopover: (typeof import('element-plus/es'))['ElPopover']
+ ElRadio: (typeof import('element-plus/es'))['ElRadio']
+ ElRadioButton: (typeof import('element-plus/es'))['ElRadioButton']
+ ElRadioGroup: (typeof import('element-plus/es'))['ElRadioGroup']
+ ElRow: (typeof import('element-plus/es'))['ElRow']
+ ElSegmented: (typeof import('element-plus/es'))['ElSegmented']
+ ElSelect: (typeof import('element-plus/es'))['ElSelect']
+ ElSelectV2: (typeof import('element-plus/es'))['ElSelectV2']
+ ElSlider: (typeof import('element-plus/es'))['ElSlider']
+ ElSwitch: (typeof import('element-plus/es'))['ElSwitch']
+ ElTable: (typeof import('element-plus/es'))['ElTable']
+ ElTableColumn: (typeof import('element-plus/es'))['ElTableColumn']
+ ElTabPane: (typeof import('element-plus/es'))['ElTabPane']
+ ElTabs: (typeof import('element-plus/es'))['ElTabs']
+ ElTag: (typeof import('element-plus/es'))['ElTag']
+ ElTimePicker: (typeof import('element-plus/es'))['ElTimePicker']
+ ElTooltip: (typeof import('element-plus/es'))['ElTooltip']
+ IEpBottom: (typeof import('~icons/ep/bottom'))['default']
+ IEpCheck: (typeof import('~icons/ep/check'))['default']
+ IEpCirclePlus: (typeof import('~icons/ep/circle-plus'))['default']
+ IEpClose: (typeof import('~icons/ep/close'))['default']
+ IEpConnection: (typeof import('~icons/ep/connection'))['default']
+ IEpCopyDocument: (typeof import('~icons/ep/copy-document'))['default']
+ IEpDelete: (typeof import('~icons/ep/delete'))['default']
+ IEpIphone: (typeof import('~icons/ep/iphone'))['default']
+ IEpLoading: (typeof import('~icons/ep/loading'))['default']
+ IEpMinus: (typeof import('~icons/ep/minus'))['default']
+ IEpMonitor: (typeof import('~icons/ep/monitor'))['default']
+ IEpMore: (typeof import('~icons/ep/more'))['default']
+ IEpPlus: (typeof import('~icons/ep/plus'))['default']
+ IEpQuestionFilled: (typeof import('~icons/ep/question-filled'))['default']
+ IEpRank: (typeof import('~icons/ep/rank'))['default']
+ IEpRemove: (typeof import('~icons/ep/remove'))['default']
+ IEpSearch: (typeof import('~icons/ep/search'))['default']
+ IEpSort: (typeof import('~icons/ep/sort'))['default']
+ IEpSortDown: (typeof import('~icons/ep/sort-down'))['default']
+ IEpSortUp: (typeof import('~icons/ep/sort-up'))['default']
+ IEpTop: (typeof import('~icons/ep/top'))['default']
+ IEpView: (typeof import('~icons/ep/view'))['default']
+ IEpWarningFilled: (typeof import('~icons/ep/warning-filled'))['default']
+ RouterLink: (typeof import('vue-router'))['RouterLink']
+ RouterView: (typeof import('vue-router'))['RouterView']
}
export interface ComponentCustomProperties {
- vLoading: typeof import('element-plus/es')['ElLoadingDirective']
+ vLoading: (typeof import('element-plus/es'))['ElLoadingDirective']
}
}
diff --git a/web/package.json b/web/package.json
index cc5d22b5..445fbb26 100644
--- a/web/package.json
+++ b/web/package.json
@@ -26,6 +26,7 @@
"moment": "^2.29.4",
"nanoid": "^5.0.7",
"node-forge": "^1.3.1",
+ "pinia": "^2.1.7",
"qrcode": "^1.5.3",
"vue": "^3.4.15",
"vue-router": "^4.2.5",
diff --git a/web/src/common/Editor/RichEditor.vue b/web/src/common/Editor/RichEditor.vue
index 65b377bf..2696fa16 100644
--- a/web/src/common/Editor/RichEditor.vue
+++ b/web/src/common/Editor/RichEditor.vue
@@ -24,13 +24,13 @@