fix: 消息提示0时常驻
This commit is contained in:
@@ -140,7 +140,7 @@ function fnModalOk() {
|
||||
.validate()
|
||||
.then(e => {
|
||||
modalState.confirmLoading = true;
|
||||
const hide = message.loading({ content: t('common.loading') });
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
// 根据类型选择函数
|
||||
const groupName = from.group.trim()
|
||||
saveGraphData(groupName, graphG6.value.save())
|
||||
@@ -207,7 +207,7 @@ function fnGraphDataDelete() {
|
||||
group: graphState.group,
|
||||
}),
|
||||
onOk() {
|
||||
const hide = message.loading({ content: t('common.loading') });
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
delGraphData(graphState.group)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user