Commit 7e4b9d8f authored by zhengke's avatar zhengke

no message

parent d6560a75
......@@ -11,6 +11,7 @@ export interface ScreenState {
TemplateDataSource: [],
CoverImg: any,
isCoverImg: boolean,
dataLoading: boolean,
}
export const useScreenStore = defineStore('screen', {
......@@ -24,6 +25,7 @@ export const useScreenStore = defineStore('screen', {
TemplateDataSource: [], // 所有数据源
CoverImg: null, // 封面图
isCoverImg: false, // 封面
dataLoading: false, // 记录保存是否成功
}),
actions: {
......@@ -56,6 +58,9 @@ export const useScreenStore = defineStore('screen', {
},
setTemplateDataSource(TemplateDataSource: []) {
this.TemplateDataSource = TemplateDataSource
},
setDataLoading(dataLoading: boolean) {
this.dataLoading = dataLoading
}
},
})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment