瀏覽代碼

no message

linwenxin 3 月之前
父節點
當前提交
40b959027a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/pages/repairConfirmation.vue

+ 2 - 2
src/pages/repairConfirmation.vue

@@ -200,7 +200,7 @@ export default {
             signFile2: this.signNameUrl
           },
           success: uploadFileRes => {
-            if (JSON.parse(uploadFileRes.data)?.data) {
+            if (JSON.parse(uploadFileRes.data)?.data?.status) {
               this.$navToPage(
                 {
                   url: '/pages/index/index'
@@ -210,7 +210,7 @@ export default {
             } else {
               uni.showModal({
                 title: '提交失败',
-                content: '您的签名不符合要求,请重新签署!',
+                content: `${JSON.parse(uploadFileRes.data)?.data?.reason},请重新签署!`,
                 showCancel: false,
                 confirmText: '知道了',
                 success: function (res) {}