From 57b92186b1ea32a7cdbd3039bcc35856080c3489 Mon Sep 17 00:00:00 2001 From: inter Date: Tue, 16 Sep 2025 10:38:31 +0800 Subject: [PATCH] Add File --- plugins/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/index.js diff --git a/plugins/index.js b/plugins/index.js new file mode 100644 index 0000000..22bb75c --- /dev/null +++ b/plugins/index.js @@ -0,0 +1,14 @@ +import tab from './tab' +import auth from './auth' +import modal from './modal' + +export default { + install(Vue) { + // 页签操作 + Vue.prototype.$tab = tab + // 认证对象 + Vue.prototype.$auth = auth + // 模态框对象 + Vue.prototype.$modal = modal + } +}