调整提示超时时间

This commit is contained in:
fangxiang 2021-12-22 11:25:04 +08:00
parent 77ec933798
commit f908813a49
11 changed files with 24 additions and 24 deletions

View File

@ -199,7 +199,7 @@ export default defineComponent({
type: "positive",
message: $t.t("upload background image") + $t.t("success") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
loading.value = false;
show_dialog.value = false;
@ -210,7 +210,7 @@ export default defineComponent({
type: "warning",
message: $t.t("upload background image") + $t.t("fail") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
loading.value = false;
},

View File

@ -223,7 +223,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -241,7 +241,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};

View File

@ -194,7 +194,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -212,7 +212,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};

View File

@ -184,7 +184,7 @@ export default defineComponent({
message:
$t.t("delete") + (success ? $t.t("success") : $t.t("fail")) + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
},
callMode(item: ModeEntity) {
@ -194,7 +194,7 @@ export default defineComponent({
icon: "done",
message: $t.t("call mode directives send") + $t.t("success") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
},
};

View File

@ -443,7 +443,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -482,7 +482,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -567,7 +567,7 @@ export default defineComponent({
type: "warning",
message: $t.t("auto delete unknow mode success"),
position: "top",
timeout: 1000,
timeout: 1500,
});
}
datas.value = temp;

View File

@ -194,7 +194,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -212,7 +212,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};

View File

@ -222,7 +222,7 @@ export default defineComponent({
message:
$t.t("delete") + (success ? $t.t("success") : $t.t("fail")) + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
},
runPlan(item: PlanEntity) {
@ -232,7 +232,7 @@ export default defineComponent({
icon: "done",
message: $t.t("run plan directives send") + $t.t("success") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
},
unsetPowerOnPlan(evt: PointerEvent, uuid: string) {

View File

@ -170,7 +170,7 @@ export default defineComponent({
type: "positive",
message: $t.t("data import") + $t.t("success") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
$q.dialog({
title: "Confirm",
@ -191,7 +191,7 @@ export default defineComponent({
type: "positive",
message: $t.t("reboot device command sended") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
})
.onDismiss(() => {
@ -205,7 +205,7 @@ export default defineComponent({
type: "warning",
message: $t.t("data import") + $t.t("fail") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
loading.value = false;
},

View File

@ -392,7 +392,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};
@ -412,7 +412,7 @@ export default defineComponent({
(response.success ? $t.t("success") : $t.t("fail")) +
"!",
position: "top",
timeout: 1000,
timeout: 1500,
});
}
};

View File

@ -203,7 +203,7 @@ export default defineComponent({
message:
$t.t("delete") + (success ? $t.t("success") : $t.t("fail")) + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
},
};

View File

@ -385,7 +385,7 @@ export default defineComponent({
icon: "warning",
message: $t.t("editor error") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
return;
}
@ -405,7 +405,7 @@ export default defineComponent({
icon: "warning",
message: $t.t("input data error") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
return;
}
@ -417,7 +417,7 @@ export default defineComponent({
icon: "done",
message: $t.t("set subtitle success") + "!",
position: "top",
timeout: 1000,
timeout: 1500,
});
show_dialog.value = false;
} catch {}