完善表单赋值机制
This commit is contained in:
@@ -387,8 +387,10 @@ function fnModalOk() {
|
||||
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
|
||||
return false;
|
||||
}
|
||||
modalState.from.expression = result;
|
||||
const from = toRaw(modalState.from);
|
||||
//modalState.from.expression = result;
|
||||
//const from = toRaw(modalState.from);
|
||||
const from = { ...toRaw(modalState.from) };
|
||||
from.expression = result;
|
||||
//return false;
|
||||
modalState.confirmLoading = true;
|
||||
const perfTask = from.id ? updateCustom(from) : addCustom(from);
|
||||
|
||||
Reference in New Issue
Block a user