NEZ-835 fix: 新增页面添加标签页关闭提示功能

This commit is contained in:
@changcode
2021-07-15 11:56:25 +08:00
parent da04ea8875
commit 4191c8113f
30 changed files with 40 additions and 91 deletions

View File

@@ -240,9 +240,7 @@ export default {
immediate: true,
deep: true,
handler (n) {
if (n.id) {
this.isEdit = true
}
this.isEdit = true
this.editMenu = JSON.parse(JSON.stringify(n))
if (this.editMenu.perms && this.editMenu.perms != '') {
this.$set(this.editMenu, 'permissions', this.editMenu.perms.split(',').map(t => { return { value: t } }))