mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
to: 添加前端静态资源请求版本号,防止更新导致的缓存
This commit is contained in:
parent
e086456777
commit
25317d5f64
@ -239,5 +239,5 @@ return [
|
||||
| The only modification by laravel config
|
||||
|
|
||||
*/
|
||||
'version' => '1.7.5.1685907718051'
|
||||
'version' => '0.1.1-dev'
|
||||
];
|
||||
|
@ -1,13 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
|
||||
<title>{{$title}}</title>
|
||||
<script type="module" crossorigin src="/theme/{{$theme}}/assets/umi.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="module" crossorigin src="/theme/{{$theme}}/assets/umi.js?v={{$version}}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window.routerBase = "/";
|
||||
window.settings = {
|
||||
@ -30,5 +29,5 @@
|
||||
</script>
|
||||
<div id="app"></div>
|
||||
{!! $theme_config['custom_html'] !!}
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user