|
楼主 |
发表于 2021-4-21 15:02:11
|
显示全部楼层
自己动手解决了
修改:/UI2/system/components/justep/window/index.html
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<script src="https://code.bdstatic.com/npm/jquery@1.11.1/dist/jquery.min.js"></script>
</head>
<body style="color:gray;margin:0px;text-align:center;padding-top:20%">
正在努力加载中......
<script type='text/javascript'>
var url = '@indexUrl@';
var Ajax = function ()
{
$.getJSON ("appMetadata_in_server.json", function (data)
{
var search = window.location.search;
if (search){
if (url.indexOf("?") != -1){
url += "&";
}else{
url += "?";
}
url += search.substr(1) + window.location.hash;
}
//追加版本号v-uQreey-zh_CN-
var str =url.match(/v-.+zh_CN-\//);
if(!str || str.length<=0){
url = data.resourceInfo.version+"/"+url;
}
window.location.href= url;
});
}();
</script>
</body>
</html> |
|