|
|
@@ -101,7 +101,10 @@ const state = reactive({
|
|
|
|
|
|
// 打开弹窗
|
|
|
const openDialog = (row: any) => {
|
|
|
- if (row.dictType?.sysFlag) state.isSysFlag = row.dictType.sysFlag !== 2;
|
|
|
+ if (row.dictType?.sysFlag)
|
|
|
+ state.isSysFlag = row.dictType.sysFlag !== 2;
|
|
|
+ else
|
|
|
+ state.isSysFlag = false;
|
|
|
state.ruleForm = JSON.parse(JSON.stringify(row));
|
|
|
if (JSON.stringify(row) == '{}') {
|
|
|
state.ruleForm.dictTypeId = props.dictTypeId;
|