message提示框显示1秒,最多显示1条.
This commit is contained in:
@@ -17,3 +17,8 @@ new Vue({
|
||||
store,
|
||||
render: (h) => h(App),
|
||||
}).$mount("#app");
|
||||
|
||||
Vue.prototype.$message.config({
|
||||
duration: 1,
|
||||
maxCount: 1,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user