@v2coding/ui 0.1.25 → 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.
@@ -487,8 +487,8 @@ var Router = {
487
487
  };
488
488
 
489
489
  const SCRIPT_ID = 'iconfont';
490
- const ICONFONT_ID = process.env.VUE_APP_ICONFONT_ID || '2875806_7ad4gn9k8r9';
491
- const IconfontStorageKey = 'iconfont_' + ICONFONT_ID;
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 = `//at.alicdn.com/t/font_${ICONFONT_ID}.js`;
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(`//at.alicdn.com/t/font_${ICONFONT_ID}.json`));
537
+ const [, res] = await to(req.get(`//${ICONFONT}.json`));
538
538
  IconsLoading = false;
539
539
 
540
540
  if (res.status === 200) {