Browse Source

no message

linwenxin 3 tháng trước cách đây
mục cha
commit
40b959027a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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) {}