Merge pull request #7342 from dataease/pr@dev-v2@refactor_style
Pr@dev v2@refactor style
This commit is contained in:
commit
810576b1c2
@ -8,7 +8,7 @@ i18n_menu.template=\u6A21\u7248
|
||||
i18n_menu.application=\u5E94\u7528
|
||||
i18n_menu.system=\u7CFB\u7EDF\u7BA1\u7406
|
||||
i18n_menu.template-market=\u6A21\u7248\u5E02\u573A
|
||||
i18n_menu.template-setting=\u6A21\u7248\u7BA1\u7406
|
||||
i18n_menu.template-setting=\u6a21\u677f\u7ba1\u7406
|
||||
i18n_menu.view=\u6570\u636E\u5C55\u793A
|
||||
i18n_menu.data=\u6570\u636E\u51C6\u5907
|
||||
i18n_menu.panel=\u4EEA\u8868\u677F
|
||||
|
||||
@ -9,10 +9,20 @@ export const lockStore = defineStore('lock', {
|
||||
actions: {
|
||||
lock() {
|
||||
curComponent.value.isLock = true
|
||||
if (curComponent.value.component === 'Group') {
|
||||
curComponent.value.propValue.forEach(component => {
|
||||
component.isLock = true
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
unlock() {
|
||||
curComponent.value.isLock = false
|
||||
if (curComponent.value.component === 'Group') {
|
||||
curComponent.value.propValue.forEach(component => {
|
||||
component.isLock = false
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user