File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 3
3
const env = process . env
4
4
const baseUrl = ''
5
5
// 图表库为avue和pig2套地址
6
- const iconfontVersion = [ '567566_qo5lxgtishg' , '667895_v7uduh4zui' ]
7
- const iconfontUrl = `//at.alicdn.com/t/font_$key.css`
6
+ const iconfontVersion = [ '//at.alicdn.com/t/font_567566_qo5lxgtishg.css' , '//at.alicdn.com/t/font_667895_v7uduh4zui.css' ]
8
7
const codeUrl = `${ window . location . origin } /code`
9
8
10
9
export {
11
10
baseUrl ,
12
- iconfontUrl ,
13
11
iconfontVersion ,
14
12
codeUrl ,
15
13
env
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const tableOption = {
43
43
"label" : "岗位排序" ,
44
44
"prop" : "postSort" ,
45
45
"hide" :true ,
46
- span :6
46
+ span : 8
47
47
} ,
48
48
{
49
49
"type" : "input" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import store from "./store";
17
17
import { loadStyle , downBlobFile } from "@/util/util" ;
18
18
import { validatenull } from "@/util/validate" ;
19
19
import * as urls from "@/config/env" ;
20
- import { iconfontUrl , iconfontVersion } from "@/config/env" ;
20
+ import { iconfontVersion } from "@/config/env" ;
21
21
import * as filters from "./filters" ; // 全局filter
22
22
import "./styles/common.scss" ;
23
23
import basicContainer from "./components/basic-container/main" ;
@@ -67,8 +67,7 @@ Object.keys(filters).forEach(key => {
67
67
68
68
// 动态加载阿里云字体库
69
69
iconfontVersion . forEach ( ele => {
70
- console . log ( iconfontUrl . replace ( "$key" , ele ) ) ;
71
- loadStyle ( iconfontUrl . replace ( "$key" , ele ) ) ;
70
+ loadStyle ( ele ) ;
72
71
} ) ;
73
72
74
73
Vue . config . productionTip = false ;
You can’t perform that action at this time.
0 commit comments