liyuanpeng 3 years ago
parent
commit
3c96014836
1 changed files with 4 additions and 1 deletions
  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, {