mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改资源加载,优先加载字体文件
This commit is contained in:
parent
6e38e17908
commit
d1d3b6dbf9
@ -6,6 +6,7 @@
|
|||||||
<title>{block name="title"}{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}{/block}</title>
|
<title>{block name="title"}{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}{/block}</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<link rel="shortcut icon" href="{:sysconf('browser_icon')}" />
|
<link rel="shortcut icon" href="{:sysconf('browser_icon')}" />
|
||||||
|
<link rel="stylesheet" href="__STATIC__/plugs/awesome/css/font-awesome.min.css?ver={:date('ymd')}">
|
||||||
<link rel="stylesheet" href="__STATIC__/plugs/bootstrap/css/bootstrap.min.css?ver={:date('ymd')}"/>
|
<link rel="stylesheet" href="__STATIC__/plugs/bootstrap/css/bootstrap.min.css?ver={:date('ymd')}"/>
|
||||||
<link rel="stylesheet" href="__STATIC__/plugs/layui/css/layui.css?ver={:date('ymd')}"/>
|
<link rel="stylesheet" href="__STATIC__/plugs/layui/css/layui.css?ver={:date('ymd')}"/>
|
||||||
<link rel="stylesheet" href="__STATIC__/theme/default/css/console.css?ver={:date('ymd')}">
|
<link rel="stylesheet" href="__STATIC__/theme/default/css/console.css?ver={:date('ymd')}">
|
||||||
|
@ -56,7 +56,7 @@ require.config({
|
|||||||
'jquery.cookies': {deps: ['jquery']},
|
'jquery.cookies': {deps: ['jquery']},
|
||||||
'jquery.masonry': {deps: ['jquery']},
|
'jquery.masonry': {deps: ['jquery']},
|
||||||
},
|
},
|
||||||
deps: ['css!' + _root + '../plugs/awesome/css/font-awesome.min.css'],
|
// deps: [],
|
||||||
// 开启debug模式,不缓存资源
|
// 开启debug模式,不缓存资源
|
||||||
// urlArgs: "ver=" + (new Date()).getTime()
|
// urlArgs: "ver=" + (new Date()).getTime()
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user