* zin: fix browser url not update as expected on load with zin.

This commit is contained in:
sunhao
2023-06-26 13:45:50 +08:00
parent 9bfed83a3e
commit 378b9fbd35
+1 -2
View File
@@ -357,7 +357,7 @@
if(!isInAppTab && config.zin) return;
data = [{name: data.includes('Fatal error') ? 'fatal' : 'html', data: data}];
}
if(options.partial) currentAppUrl = url;
if(!options.partial) currentAppUrl = url;
if(Array.isArray(data))
{
data.forEach((item, idx) => item.selector = selectors[idx]);
@@ -474,7 +474,6 @@
}
options = $.extend({url: currentAppUrl, id: options.selector || 'page'}, options);
if(options.selector && options.partial === undefined) options.partial = true;
if(!options.selector)
{
if($('#main').length)