mooho-base-admin-plus 0.1.16 → 0.1.19
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
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
import columnEdit from './column-edit.vue';
|
|
88
88
|
import columnSelect from './column-select.vue';
|
|
89
89
|
import viewFormDraggable from './view-form-draggable.vue';
|
|
90
|
-
import draggable from 'vuedraggable';
|
|
90
|
+
import * as draggable from 'vuedraggable';
|
|
91
91
|
import enumApi from '../../api/enum';
|
|
92
92
|
|
|
93
93
|
export default {
|
package/src/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import plugins from './plugins';
|
|
|
18
18
|
import store from './store';
|
|
19
19
|
|
|
20
20
|
// ViewUIPlus
|
|
21
|
-
import
|
|
21
|
+
import * as ViewUIPlus from 'view-ui-plus';
|
|
22
22
|
|
|
23
23
|
// 菜单和路由
|
|
24
24
|
import router from './router';
|
|
@@ -119,7 +119,7 @@ const install = function (app) {
|
|
|
119
119
|
//if (window) window.$t = (key, value) => i18n.t(key, value);
|
|
120
120
|
|
|
121
121
|
app.use(plugins);
|
|
122
|
-
app.use(ViewUIPlus, {
|
|
122
|
+
app.use(ViewUIPlus.default, {
|
|
123
123
|
i18n
|
|
124
124
|
});
|
|
125
125
|
|
package/src/router/index.js
CHANGED
|
@@ -27,7 +27,7 @@ let inited = false;
|
|
|
27
27
|
|
|
28
28
|
router.beforeEach(async (to, from, next) => {
|
|
29
29
|
if (Setting.showProgressBar) {
|
|
30
|
-
ViewUIPlus.LoadingBar.start();
|
|
30
|
+
ViewUIPlus.default.LoadingBar.start();
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
if (!inited) {
|
|
@@ -68,7 +68,7 @@ router.beforeEach(async (to, from, next) => {
|
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
router.afterEach(to => {
|
|
71
|
-
if (Setting.showProgressBar) ViewUIPlus.LoadingBar.finish();
|
|
71
|
+
if (Setting.showProgressBar) ViewUIPlus.default.LoadingBar.finish();
|
|
72
72
|
// 多页控制 打开新的页面
|
|
73
73
|
if (!('meta' in to) || (to.meta && !('tabs' in to.meta)) || (to.meta && to.meta.tabs)) {
|
|
74
74
|
store.dispatch('admin/page/open', to);
|