mooho-base-admin-plus 0.1.12 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mooho-base-admin-plus",
|
|
3
3
|
"description": "MOOHO basic framework for admin by Vue3",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.15",
|
|
5
5
|
"author": "jinyifan <jinyifan@mooho.com.cn>",
|
|
6
6
|
"dotnetVersion": "1.3.97",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"@fortawesome/fontawesome-free": "^5.13.0",
|
|
22
22
|
"axios": "^0.26.0",
|
|
23
23
|
"date-fns": "^2.9.0",
|
|
24
|
-
"dayjs": "^1.11.1",
|
|
25
24
|
"echarts": "^5.3.2",
|
|
26
25
|
"file-saver": "^2.0.2",
|
|
27
26
|
"js-cookie": "^3.0.1",
|
package/src/index.js
CHANGED
package/src/router/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRouter, createWebHistory, createWebHashHistory, createMemoryHistory } from 'vue-router';
|
|
2
|
-
import ViewUIPlus from 'view-ui-plus';
|
|
2
|
+
import * as ViewUIPlus from 'view-ui-plus';
|
|
3
3
|
import util from '../libs/util';
|
|
4
4
|
import Setting from '../setting';
|
|
5
5
|
import store from '../store/index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as dayjs from 'dayjs';
|
|
2
1
|
import * as lodash from 'lodash';
|
|
2
|
+
import dateFormat from 'date-fns/format';
|
|
3
3
|
import util from '../../../../libs/util';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
commit('push', {
|
|
42
42
|
message,
|
|
43
43
|
type,
|
|
44
|
-
time:
|
|
44
|
+
time: dateFormat(new Date(), 'YYYY-MM-DD HH:mm:ss'),
|
|
45
45
|
meta: {
|
|
46
46
|
// 当前用户信息
|
|
47
47
|
user: rootState.admin.user.info,
|