提交 7fe1c303 编写于 作者: doc_wei's avatar doc_wei

解决部分没有使用版本号的问题

上级 2f3fa46f
......@@ -334,7 +334,7 @@
<script src="../../assets/lib/layui/layui.js" type="text/javascript"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script>
layui.config({base : '../../js/index/', version : '1.0.0-beta'}).use('index');
layui.config({base : '../../js/index/', version : skyeyeVersion}).use('index');
</script>
<script src="../../js/common/socketCommon.js"></script>
</body>
......
......@@ -38,8 +38,8 @@
<script src="../../assets/lib/layui/custom.js"></script>
<script>
layui.config({
base: '../../js/index/' //指定 index.js 路径
, version: '1.0.0-beta'
base: '../../js/index/', //指定 index.js 路径
version: skyeyeVersion
}).use('login');
</script>
</body>
......
......@@ -90,7 +90,7 @@
<script src="../../assets/lib/layui/layui.js" type="text/javascript"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script>
layui.config({base: '../../js/syspersonal/', version: '1.0.0-beta'}).use('syspersonal');
layui.config({base: '../../js/syspersonal/', version: skyeyeVersion}).use('syspersonal');
</script>
</body>
......
......@@ -237,7 +237,7 @@
<script src="../../assets/lib/layui/layui.js" type="text/javascript"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script>
layui.config({base: '../../js/traditionpage/', version: '1.0.0-beta'}).use('index');
layui.config({base: '../../js/traditionpage/', version: skyeyeVersion}).use('index');
</script>
<script src="../../js/common/socketCommon.js"></script>
</body>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册