From 9057e04efad1b7d61c77a72e5c37a504d0aee935 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 26 九月 2025 09:24:03 +0800
Subject: [PATCH] H5静态化

---
 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