Selaa lähdekoodia

上传BOM求购新开页改为当前页

yangc 7 vuotta sitten
vanhempi
commit
816c2d0cee

+ 1 - 1
src/main/webapp/resources/js/usercenter/controllers/forstore/seek_purchase_ctrl.js

@@ -793,7 +793,7 @@ define(['app/app'], function (app) {
               method: 'POST'
             }).success(function(data) {
               if (data.success) {
-                window.open("applyPurchase/" + data.data);
+                window.location.href = "applyPurchase/" + data.data;
               } else {
                 toaster.pop('error', data.message);
               }