Skip to content

Commit 8cbaf22

Browse files
author
lbw
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 67545cb + 6cefe1a commit 8cbaf22

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/config/env.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
const env = process.env
44
const baseUrl = ''
55
// 图表库为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']
87
const codeUrl = `${window.location.origin}/code`
98

109
export {
1110
baseUrl,
12-
iconfontUrl,
1311
iconfontVersion,
1412
codeUrl,
1513
env

src/const/crud/admin/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const tableOption = {
4343
"label": "岗位排序",
4444
"prop": "postSort",
4545
"hide":true,
46-
span:6
46+
span: 8
4747
},
4848
{
4949
"type": "input",

src/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import store from "./store";
1717
import { loadStyle, downBlobFile } from "@/util/util";
1818
import { validatenull } from "@/util/validate";
1919
import * as urls from "@/config/env";
20-
import { iconfontUrl, iconfontVersion } from "@/config/env";
20+
import { iconfontVersion } from "@/config/env";
2121
import * as filters from "./filters"; // 全局filter
2222
import "./styles/common.scss";
2323
import basicContainer from "./components/basic-container/main";
@@ -67,8 +67,7 @@ Object.keys(filters).forEach(key => {
6767

6868
// 动态加载阿里云字体库
6969
iconfontVersion.forEach(ele => {
70-
console.log(iconfontUrl.replace("$key", ele));
71-
loadStyle(iconfontUrl.replace("$key", ele));
70+
loadStyle(ele);
7271
});
7372

7473
Vue.config.productionTip = false;

0 commit comments

Comments
 (0)