zzzz
2024-04-25 475e2ded2b4101ecc646f13a091c695408f75785
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,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;