fix: 消息提示0时常驻

This commit is contained in:
TsMask
2024-01-12 15:41:07 +08:00
parent d01b9432da
commit 9ed44a2ac6
14 changed files with 41 additions and 41 deletions

View File

@@ -233,7 +233,7 @@ function listEditOk() {
}
// 发送
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
let data = {
[from['name']]: from['value'],
};
@@ -367,7 +367,7 @@ function arrayEditOk(from: Record<string, any>) {
}
// 发送
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
updateParamConfigInfo(
'array',
{
@@ -482,7 +482,7 @@ function arrayAddOk(from: Record<string, any>) {
}
// 发送
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
addParamConfigInfo(
{
neType: neType,
@@ -694,7 +694,7 @@ function arrayChildEditOk(from: Record<string, any>) {
}
// 发送
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
updateParamConfigInfo(
'array',
{
@@ -810,7 +810,7 @@ function arrayChildAddOk(from: Record<string, any>) {
}
// 发送
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
addParamConfigInfo(
{
neType: neType,