瀏覽代碼

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

yangc 8 年之前
父節點
當前提交
816c2d0cee
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      src/main/webapp/resources/js/usercenter/controllers/forstore/seek_purchase_ctrl.js

+ 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'
               method: 'POST'
             }).success(function(data) {
             }).success(function(data) {
               if (data.success) {
               if (data.success) {
-                window.open("applyPurchase/" + data.data);
+                window.location.href = "applyPurchase/" + data.data;
               } else {
               } else {
                 toaster.pop('error', data.message);
                 toaster.pop('error', data.message);
               }
               }