From b726dc97538b7d4ba71fd06c14161017dd67c2b7 Mon Sep 17 00:00:00 2001
From: xubinbin <1323875150@qq.com>
Date: 星期三, 10 五月 2023 15:38:22 +0800
Subject: [PATCH] "@schedule"是Spring框架提供的一种定时任务执行机制,默认情况下它是单线程执行,项目中多次使用fixedRate按指定频率执行任务(不管前面任务是否已经完成),在同时执行多个定时任务时可能会出现阻塞和性能问题,为了解决这种单线程瓶颈问题,将定时任务的执行机制改为支持多线程
---
web_src/src/components/dialog/changePushKey.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/dialog/changePushKey.vue b/web_src/src/components/dialog/changePushKey.vue
index 9f18475..0b9834e 100644
--- a/web_src/src/components/dialog/changePushKey.vue
+++ b/web_src/src/components/dialog/changePushKey.vue
@@ -1,7 +1,7 @@
<template>
<div id="changepushKey" v-loading="isLoging">
<el-dialog
- title="淇敼瀵嗙爜"
+ title="淇敼pushKey"
width="42%"
top="2rem"
:close-on-click-modal="false"
@@ -71,8 +71,7 @@
userId: this.form.id,
}
}).then((res)=> {
- console.log(res.data)
- if (res.data.msg === "success"){
+ if (res.data.code === 0) {
this.$message({
showClose: true,
message: '淇敼鎴愬姛',
@@ -83,7 +82,7 @@
}else {
this.$message({
showClose: true,
- message: '淇敼瀵嗙爜澶辫触锛屾槸鍚﹀凡鐧诲綍锛堟帴鍙i壌鏉冨叧闂棤娉曚慨鏀瑰瘑鐮侊級',
+ message: '淇敼pushKey澶辫触锛屾槸鍚﹀凡鐧诲綍锛堟帴鍙i壌鏉冨叧闂棤娉曚慨鏀筽ushKey锛�',
type: 'error'
});
}
--
Gitblit v1.8.0