mirror of
https://gitee.com/dromara/go-view.git
synced 2024-11-30 10:48:40 +08:00
fix: 补充误删的setProjectInfo代码
This commit is contained in:
parent
b825e41707
commit
c228bc97fb
@ -201,6 +201,10 @@ export const useChartEditStore = defineStore({
|
|||||||
setEditCanvasConfig<T extends keyof EditCanvasConfigType, K extends EditCanvasConfigType[T]>(key: T, value: K) {
|
setEditCanvasConfig<T extends keyof EditCanvasConfigType, K extends EditCanvasConfigType[T]>(key: T, value: K) {
|
||||||
this.editCanvasConfig[key] = value
|
this.editCanvasConfig[key] = value
|
||||||
},
|
},
|
||||||
|
// * 设置 peojectInfo 数据项
|
||||||
|
setProjectInfo<T extends keyof ProjectInfoType, K extends ProjectInfoType[T]>(key: T, value: K) {
|
||||||
|
this.projectInfo[key] = value
|
||||||
|
},
|
||||||
// * 设置右键菜单
|
// * 设置右键菜单
|
||||||
setRightMenuShow(value: boolean) {
|
setRightMenuShow(value: boolean) {
|
||||||
this.rightMenuShow = value
|
this.rightMenuShow = value
|
||||||
|
Loading…
Reference in New Issue
Block a user