From 275dc81283d0f80327f42e3adb2db5938d8b6ee5 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Thu, 25 Apr 2024 19:42:06 +0800
Subject: [PATCH] 1
---
src/main.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index b1b15de..59231ea 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 filter from "@/utils/filter";
import * as allocation from "@/utils/allocation";
import animated from "animate.css"; // npm install animate.css --save安装,在引入
@@ -71,6 +72,9 @@
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]);
});
+Object.keys(filter).forEach(key => {
+ Vue.filter(key, filter[key]);
+});
Object.keys(allocation).forEach(key => {
Vue.prototype[key] = allocation[key];
});
--
Gitblit v1.9.3