liyuanpeng %!s(int64=3) %!d(string=hai) anos
pai
achega
3c96014836
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      public/static/views/publiAccount.html

+ 4 - 1
public/static/views/publiAccount.html

@@ -120,8 +120,11 @@
                 if (window.luckysheet) {
                     window.luckysheet.destroy();
                 }
+				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
+				var r = window.top.location.href.split('?')[1];
+				console.log(r == 'type=2')
 				var url = '/market/cadvLedger/load';
-				if(lockFlag == 'updata'){
+				if(lockFlag == 'updata' && r == 'type=2'){
 					url = '/market/cadvLedger/loadProv';
 				}
                 util.ajaxJson("数据加载中", ctx + url, {