From 89e540640b87f4be8656a5bc78f4a5dbcdf1c21f Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 01 七月 2025 15:53:41 +0800 Subject: [PATCH] ss --- 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