|
@@ -89,9 +89,16 @@ export function useRemoteAppChecker() {
|
|
|
.replace("wechat", "微信");
|
|
|
|
|
|
names = [...new Set(names.split(",").map((v) => v.trim()))].join(",");
|
|
|
- $message.info("在考试期间,请关掉" + names + "软件,诚信考试。", {
|
|
|
- duration: 24 * 60 * 60 * 1000,
|
|
|
- });
|
|
|
+ $message.info(
|
|
|
+ () => (
|
|
|
+ <div class="enhanced-error-message">
|
|
|
+ 在考试期间,请关掉{names}软件,诚信考试。
|
|
|
+ </div>
|
|
|
+ ),
|
|
|
+ {
|
|
|
+ duration: 24 * 60 * 60 * 1000,
|
|
|
+ }
|
|
|
+ );
|
|
|
logger({
|
|
|
cnl: ["local", "server"],
|
|
|
key: "checkRemoteAppTxt",
|
|
@@ -143,7 +150,9 @@ export function useRemoteAppChecker() {
|
|
|
dtl: "unlink remoteApplication.txt 失败",
|
|
|
possibleError: error,
|
|
|
});
|
|
|
- $message.error("系统检测出错(e-01),请退出程序后重试!");
|
|
|
+ $message.error("系统检测出错(e-01),请退出程序后重试!", {
|
|
|
+ duration: 24 * 60 * 60 * 1000,
|
|
|
+ });
|
|
|
throw error;
|
|
|
}
|
|
|
await execLocal(exe);
|