From 8d7bb4ac830444afde480a588e99952105ea8ede Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期四, 22 二月 2024 09:19:58 +0800 Subject: [PATCH] mrshi --- platform/src/components/system/role/OperaRoleWindow.vue | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/platform/src/components/system/role/OperaRoleWindow.vue b/platform/src/components/system/role/OperaRoleWindow.vue index 2c83918..03fce75 100644 --- a/platform/src/components/system/role/OperaRoleWindow.vue +++ b/platform/src/components/system/role/OperaRoleWindow.vue @@ -35,8 +35,7 @@ id: null, code: '', name: '', - remark: '', - type: '', + remark: '' }, // 楠岃瘉瑙勫垯 rules: { @@ -50,14 +49,13 @@ } }, methods: { - open (title, target, type) { + open (title, target) { this.title = title this.visible = true // 鏂板缓 if (target == null) { this.$nextTick(() => { this.$refs.form.resetFields() - this.form.type = type this.form[this.configData['field.id']] = null }) return @@ -68,7 +66,6 @@ for (const key in this.form) { this.form[key] = target[key] } - this.form.type = type }) }, confirm () { -- Gitblit v1.9.3