hebinlong 4 lat temu
rodzic
commit
70e7af5795
2 zmienionych plików z 3 dodań i 6 usunięć
  1. 1 1
      config/index.js
  2. 2 5
      src/views/product/index.vue

+ 1 - 1
config/index.js

@@ -10,7 +10,7 @@ module.exports = {
       '/pre': {
         // target: 'http://app.bluefire.top:7999',//后端接口地址
         // target: 'http://192.168.101.15:8081',//后端接口地址
-        target: 'http://192.168.101.104:8081',//后端接口地址
+        target: 'http://192.168.2.114:8081',//后端接口地址
         changeOrigin: true,  //是否跨域
         pathRewrite: {
           '^/pre': '/',//重写,

+ 2 - 5
src/views/product/index.vue

@@ -333,11 +333,8 @@ export default {
         type: 'warning'
       })
         .then(() => {
-         let info={
-            isDelete : 1,
-            packageId:row.packageId,
-          }
-          ProductEdit(info).then(response => {
+          row.isDelete = 1
+          ProductEdit(row).then(response => {
             if (response.status === 200) {
               this.$message({
                 type: 'success',