xnzt/xnzt-h5/plugins/index.js
2024-11-11 10:27:27 +08:00

18 lines
387 B
JavaScript

import tab from './tab'
import auth from './auth'
import modal from './modal'
import cus_modal from './custom/modal'
export default {
install(Vue) {
// 页签操作
Vue.prototype.$tab = tab
// 认证对象
Vue.prototype.$auth = auth
// 模态框对象
Vue.prototype.$modal = modal
// 自定义模态框对象
Vue.prototype.$cus_modal = cus_modal
}
}