@v2coding/ui 0.1.24 → 0.1.26
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 +13 -6
- package/dist/v2coding-ui.min.js +2 -2
- package/dist/v2coding-ui.ssr.js +11 -6
- package/package.json +1 -1
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) {
|
|
@@ -12441,13 +12441,19 @@ const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
|
|
|
12441
12441
|
staticRenderFns: __vue_staticRenderFns__$4
|
|
12442
12442
|
}, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, createInjector, undefined, undefined);
|
|
12443
12443
|
|
|
12444
|
-
var ScrollView = __vue_component__$4;
|
|
12444
|
+
var ScrollView$1 = __vue_component__$4;
|
|
12445
|
+
|
|
12446
|
+
var ScrollView = {
|
|
12447
|
+
install: Vue => {
|
|
12448
|
+
Vue.component(ScrollView$1.name, ScrollView$1);
|
|
12449
|
+
}
|
|
12450
|
+
};
|
|
12445
12451
|
|
|
12446
12452
|
//
|
|
12447
12453
|
var script$3 = {
|
|
12448
12454
|
name: "ui-history",
|
|
12449
12455
|
components: {
|
|
12450
|
-
ScrollView
|
|
12456
|
+
ScrollView: ScrollView$1
|
|
12451
12457
|
},
|
|
12452
12458
|
props: {
|
|
12453
12459
|
items: Array,
|
|
@@ -13148,6 +13154,7 @@ const ComponentList = {
|
|
|
13148
13154
|
Permission,
|
|
13149
13155
|
DocumentTitle: DocumentTitle$1,
|
|
13150
13156
|
FillView,
|
|
13157
|
+
ScrollView,
|
|
13151
13158
|
History,
|
|
13152
13159
|
Minimize,
|
|
13153
13160
|
Page
|