提交 43872997 编写于 作者: NoSubject's avatar NoSubject

config.json不设缓存

上级 cb73662b
......@@ -1403,6 +1403,9 @@ if (!window.o2) {
_json.get = function (url, callback, async, nocache) {
var loadAsync = (async !== false);
var noJsonCache = (nocache === true);
if (url.indexOf("config.json")){
noJsonCache = true;
}
url = (url.indexOf("?") !== -1) ? url + "&v=" + o2.version.v : url + "?v=" + o2.version.v;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册