platform_web/src/components/system/permission/OperaPermissionWindow.vue
@@ -26,6 +26,12 @@ name: 'OperaPermissionWindow', extends: BaseOpera, components: { GlobalWindow }, props: { type: { type: Number|String, default: 0 } }, data () { return { // 原权限码 @@ -58,6 +64,7 @@ this.$nextTick(() => { this.$refs.form.resetFields() this.form[this.configData['field.id']] = null this.form.type = this.type }) return } @@ -67,6 +74,7 @@ for (const key in this.form) { this.form[key] = target[key] } this.form.type = this.type }) }, confirm () {