From 2d1d8d97966cbdb119456a35959b8e783476a2a9 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 18 六月 2025 13:50:04 +0800 Subject: [PATCH] ~ --- admin/src/plugins/index.js | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/admin/src/plugins/index.js b/admin/src/plugins/index.js new file mode 100644 index 0000000..dfbef8a --- /dev/null +++ b/admin/src/plugins/index.js @@ -0,0 +1,19 @@ +import consts from './consts' +import message from './message' +import messagebox from './messagebox' +import cache from './cache' +import download from './download' +export default { + install (Vue) { + // 甯搁噺 + Vue.prototype.$consts = consts + // 鎻愰啋瀵硅薄 + Vue.prototype.$tip = message + // 鎻愮ず妗嗗璞� + Vue.prototype.$dialog = messagebox + // 缂撳瓨瀵硅薄 + Vue.prototype.$cache = cache + // 涓嬭浇鏂囦欢 + Vue.prototype.download = download + } +} -- Gitblit v1.9.3