Commit 1a331720 by LJM

修复bug

parent cca788a9
Showing with 7 additions and 5 deletions
...@@ -15,11 +15,13 @@ import '@/assets/css/public/common.min.css' ...@@ -15,11 +15,13 @@ import '@/assets/css/public/common.min.css'
import '@/assets/css/font/iconfont.css' import '@/assets/css/font/iconfont.css'
Vue.use(Alert); Vue.use(Alert);
Vue.prototype.$msgbox = MessageBox; const msgbox = MessageBox
Vue.prototype.$alert = MessageBox.alert; const {alert, confirm} = msgbox
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt; Vue.prototype.$msgbox = msgbox
Vue.prototype.$message = Message; Vue.prototype.$alert = alert
Vue.prototype.$confirm = confirm
Vue.prototype.$message = Message
//本地环境开启提示信息 //本地环境开启提示信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment