From f8e9af35a267b7b9a2bf605187a11536889a6e38 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 20 May 2024 11:00:10 +0800
Subject: [PATCH] 修改:绑定银行卡 多语言
---
src/main.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main.js b/src/main.js
index 3ab0041..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安装,在引入
@@ -41,8 +42,6 @@
import echarts from "echarts";
Vue.prototype.$echarts = echarts;
-Vue.prototype.$USD = allocation.$USD;
-Vue.prototype.$USDT = allocation.$USDT;
Vue.prototype.$moment = moment;
// import VueTouch from 'vue-touch'
Vue.use(Swipe);
@@ -73,8 +72,10 @@
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 => {
- console.log(allocation, "====");
Vue.prototype[key] = allocation[key];
});
Vue.prototype.$state = state;
--
Gitblit v1.9.3