From f15ad3456b47e43646234b9c91c3ddd77ab2cd02 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 05 Jun 2024 10:05:13 +0800
Subject: [PATCH] 123
---
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