Преглед изворни кода

商品管理导入图片调整

qymljy пре 1 недеља
родитељ
комит
2eb66dce66
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/HDrpManagement/ProductMag/index.vue

+ 2 - 1
src/HDrpManagement/ProductMag/index.vue

@@ -329,7 +329,8 @@ export default {
         }
         }
       })
       })
       if (res.msg !== '成功') {
       if (res.msg !== '成功') {
-        this.errorUrl = res.data
+        this.errorUrl = res.msg
+        res.msg = this.$t('失败')
         console.log(this.errorUrl)
         console.log(this.errorUrl)
       }
       }
       this.tool.showMessage(res,() => {
       this.tool.showMessage(res,() => {