lining 6 years ago
parent
commit
96ab2b6f19

+ 1 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierstore/goodslist.vue

@@ -567,7 +567,7 @@
       uploadrequest (option) {
       uploadrequest (option) {
         let _this = this
         let _this = this
         if (process.client) {
         if (process.client) {
-          const myDomain = window.location.host
+          const myDomain = '10.76.248.23' //window.location.host
           axios.post(process.env.upfilehost, {})
           axios.post(process.env.upfilehost, {})
             .then(function (res) {
             .then(function (res) {
               if (res.data && res.data.fid && res.data.fid !== '') {
               if (res.data && res.data.fid && res.data.fid !== '') {
@@ -608,7 +608,6 @@
         }
         }
         api.importExcel(params, this.$axios).then(res => {
         api.importExcel(params, this.$axios).then(res => {
           this.importloading = false
           this.importloading = false
-          console.log(res)
           if (res.data.code === 0) {
           if (res.data.code === 0) {
             this.$message({
             this.$message({
               type: 'success',
               type: 'success',