回填信息
This commit is contained in:
@@ -90,6 +90,11 @@ let tableColumns: ColumnsType = [
|
||||
dataIndex: 'title',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: t('views.perfManage.customTarget.expression'),
|
||||
dataIndex: 'exprAlias',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: t('views.perfManage.customTarget.description'),
|
||||
dataIndex: 'description',
|
||||
@@ -340,6 +345,7 @@ function fnModalVisibleByEdit(row?: any, id?: any) {
|
||||
} else {
|
||||
fnSelectPerformanceInit(row.neType);
|
||||
modalState.from = Object.assign(modalState.from, row);
|
||||
modalState.from.expression=modalState.from.exprAlias;
|
||||
modalState.title = t('views.perfManage.customTarget.editCustom');
|
||||
modalState.openByEdit = true;
|
||||
}
|
||||
@@ -377,6 +383,7 @@ function fnModalOk() {
|
||||
});
|
||||
} else {
|
||||
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
|
||||
return false;
|
||||
}
|
||||
|
||||
const from = toRaw(modalState.from);
|
||||
|
||||
Reference in New Issue
Block a user