flat: 审核
This commit is contained in:
4
main.js
4
main.js
@@ -33,6 +33,7 @@ const msg = (title, duration = 1500, mask = false, icon = 'none') => {
|
||||
icon
|
||||
});
|
||||
}
|
||||
const sleep = (time) => new Promise(resolve => setTimeout(resolve, time))
|
||||
|
||||
// 注册全局组件
|
||||
import JlButton from "@/components/jl-button/main.vue"
|
||||
@@ -45,7 +46,8 @@ Vue.component('jl-form-item', JlFormItem)
|
||||
Vue.component('cs-button', CSButton)
|
||||
Vue.component('empty', empty)
|
||||
Vue.prototype.$api = {
|
||||
msg
|
||||
msg,
|
||||
sleep
|
||||
}
|
||||
Vue.prototype.$config = config
|
||||
Vue.prototype.navTo = navTo
|
||||
|
||||
Reference in New Issue
Block a user