From a9546154c39b7850746317af561573ed8ee503d1 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 07 Apr 2024 16:02:07 +0800
Subject: [PATCH] new
---
src/main.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index 191f9eb..002a374 100644
--- a/src/main.js
+++ b/src/main.js
@@ -33,6 +33,7 @@
import "lib-flexible";
// import md5 from 'js-md5'
import * as filters from "@/utils/utils";
+import * as allocation from "@/utils/allocation";
import animated from "animate.css"; // npm install animate.css --save安装,在引入
import "../static/css/public2.css";
@@ -70,6 +71,10 @@
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]);
});
+Object.keys(allocation).forEach(key => {
+ console.log(allocation, "====");
+ Vue.prototype[key] = allocation[key];
+});
Vue.prototype.$state = state;
Vue.prototype.$setgoindex = function() {
if (window.history.length <= 1) {
--
Gitblit v1.9.3