style:: 系统操作日志详情json格式化显示
This commit is contained in:
@@ -245,6 +245,21 @@ let modalState: ModalStateType = reactive({
|
||||
*/
|
||||
function fnModalVisibleByVive(row: Record<string, string>) {
|
||||
modalState.from = Object.assign(modalState.from, row);
|
||||
try {
|
||||
modalState.from.operaParam = JSON.stringify(
|
||||
JSON.parse(modalState.from.operaParam),
|
||||
null,
|
||||
4
|
||||
);
|
||||
} catch (_) {}
|
||||
try {
|
||||
modalState.from.operaMsg = JSON.stringify(
|
||||
JSON.parse(modalState.from.operaMsg),
|
||||
null,
|
||||
4
|
||||
);
|
||||
} catch (_) {}
|
||||
|
||||
modalState.title = t('views.system.log.operate.logInfo');
|
||||
modalState.openByView = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user