|
@@ -20,6 +20,8 @@ import axios from "@api/axios";
|
|
// 引入基础工具
|
|
// 引入基础工具
|
|
import basicTool from "@tools/basicTool";
|
|
import basicTool from "@tools/basicTool";
|
|
|
|
|
|
|
|
+import animated from 'animate.css';
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 对 Date 的扩展,将 Date 转化为指定格式的字符串
|
|
* 对 Date 的扩展,将 Date 转化为指定格式的字符串
|
|
* @param {String} fmt 传入一个字符串,根据所传字符串的格式返回转换后特定格式的日期,调用姿势:new Date().formatDate("yyyy-MM-dd hh:mm:ss");
|
|
* @param {String} fmt 传入一个字符串,根据所传字符串的格式返回转换后特定格式的日期,调用姿势:new Date().formatDate("yyyy-MM-dd hh:mm:ss");
|
|
@@ -44,6 +46,7 @@ window.__STATICVUE__ = createApp(App);
|
|
window.__STATICVUE__.use(ElementPlus, { locale });
|
|
window.__STATICVUE__.use(ElementPlus, { locale });
|
|
window.__STATICVUE__.use(store);
|
|
window.__STATICVUE__.use(store);
|
|
window.__STATICVUE__.use(router);
|
|
window.__STATICVUE__.use(router);
|
|
|
|
+window.__STATICVUE__.use(animated);
|
|
|
|
|
|
window.__STATICVUE__.config.globalProperties.API = axios; //全局注册
|
|
window.__STATICVUE__.config.globalProperties.API = axios; //全局注册
|
|
window.__STATICVUE__.config.globalProperties.BASE = basicTool; //全局注册
|
|
window.__STATICVUE__.config.globalProperties.BASE = basicTool; //全局注册
|