From fc5ec7167a7d371d2cd945656bb63c7b5267a6c7 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Thu, 18 Apr 2024 15:24:17 +0800
Subject: [PATCH] build:preview

---
 src/main.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 191f9eb..b1b15de 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,9 @@
 Object.keys(filters).forEach(key => {
   Vue.filter(key, filters[key]);
 });
+Object.keys(allocation).forEach(key => {
+  Vue.prototype[key] = allocation[key];
+});
 Vue.prototype.$state = state;
 Vue.prototype.$setgoindex = function() {
   if (window.history.length <= 1) {

--
Gitblit v1.9.3