From a48812ed0efa993bf489eb2a5d61d0ecd295e5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=99=93=E4=B8=9C?= <763795151@qq.com> Date: Sun, 12 Jan 2025 22:02:49 +0800 Subject: [PATCH] =?UTF-8?q?message=E6=8F=90=E7=A4=BA=E6=A1=86=E6=98=BE?= =?UTF-8?q?=E7=A4=BA1=E7=A7=92=EF=BC=8C=E6=9C=80=E5=A4=9A=E6=98=BE?= =?UTF-8?q?=E7=A4=BA1=E6=9D=A1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/src/main.js b/ui/src/main.js index ed24114..4ed8897 100644 --- a/ui/src/main.js +++ b/ui/src/main.js @@ -17,3 +17,8 @@ new Vue({ store, render: (h) => h(App), }).$mount("#app"); + +Vue.prototype.$message.config({ + duration: 1, + maxCount: 1, +});