Skip to content

Commit 7c75425

Browse files
奇淼(piexlmaxsongzhibin97
andauthored
插件安装提示优化 (flipped-aurora#1162)
* fix: automatic installation * fix: flipped-aurora#1160 * 自动插件模式鉴定调整 * 插件安装提示优化 Co-authored-by: songzhibin97 <718428482@qq.com>
1 parent e88c185 commit 7c75425

File tree

1 file changed

+5
-1
lines changed
  • web/src/view/systemTools/installPlugin

1 file changed

+5
-1
lines changed

web/src/view/systemTools/installPlugin/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ const path = ref(import.meta.env.VITE_BASE_API)
3232
3333
const handleSuccess = (res) => {
3434
if (res.code === 0) {
35-
ElMessage.success(res.msg)
35+
let msg = ``
36+
res.data && res.data.forEach((item, index) => {
37+
msg += `${index + 1}.${item.msg}\n`
38+
})
39+
alert(msg)
3640
} else {
3741
ElMessage.error(res.msg)
3842
}

0 commit comments

Comments
 (0)