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