@v2coding/ui 0.1.25 → 0.1.27
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/dist/v2coding-ui.esm.js
CHANGED
|
@@ -487,8 +487,8 @@ var Router = {
|
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
const SCRIPT_ID = 'iconfont';
|
|
490
|
-
const
|
|
491
|
-
const IconfontStorageKey = 'iconfont_' +
|
|
490
|
+
const ICONFONT = process.env.VUE_APP_ICONFONT || 'at.alicdn.com/t/c/font_2875806_nuidhp6zuym';
|
|
491
|
+
const IconfontStorageKey = 'iconfont_' + ICONFONT;
|
|
492
492
|
|
|
493
493
|
let Icons = (() => {
|
|
494
494
|
const jsonStr = localStorage.getItem(IconfontStorageKey);
|
|
@@ -519,7 +519,7 @@ var Iconfont = {
|
|
|
519
519
|
|
|
520
520
|
const script = document.createElement('script');
|
|
521
521
|
script.id = SCRIPT_ID;
|
|
522
|
-
script.src =
|
|
522
|
+
script.src = `//${ICONFONT}.js`;
|
|
523
523
|
document.body.appendChild(script);
|
|
524
524
|
},
|
|
525
525
|
getIcons: async () => {
|
|
@@ -534,7 +534,7 @@ var Iconfont = {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
IconsLoading = true;
|
|
537
|
-
const [, res] = await to(req.get(
|
|
537
|
+
const [, res] = await to(req.get(`//${ICONFONT}.json`));
|
|
538
538
|
IconsLoading = false;
|
|
539
539
|
|
|
540
540
|
if (res.status === 200) {
|
|
@@ -11463,7 +11463,7 @@ var __vue_render__$8 = function () {
|
|
|
11463
11463
|
"layout": _vm.layout,
|
|
11464
11464
|
"page-sizes": _vm.pageSizes,
|
|
11465
11465
|
"total": _vm.page.total || 0,
|
|
11466
|
-
"page-size": _vm.page.size,
|
|
11466
|
+
"page-size": _vm.page.size || 20,
|
|
11467
11467
|
"background": _vm.background,
|
|
11468
11468
|
"current-page": _vm.page.no || 1
|
|
11469
11469
|
},
|
|
@@ -11480,7 +11480,7 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
11480
11480
|
const __vue_inject_styles__$8 = undefined;
|
|
11481
11481
|
/* scoped */
|
|
11482
11482
|
|
|
11483
|
-
const __vue_scope_id__$8 = "data-v-
|
|
11483
|
+
const __vue_scope_id__$8 = "data-v-c19d0ab0";
|
|
11484
11484
|
/* module identifier */
|
|
11485
11485
|
|
|
11486
11486
|
const __vue_module_identifier__$8 = undefined;
|