Преглед на файлове

fix:修改提现签约提示语

wuguojie преди 1 година
родител
ревизия
5848debe2b
променени са 1 файла, в които са добавени 10 реда и са изтрити 3 реда
  1. 10 3
      src/views/Letter/Wallet/FundsWallet.vue

+ 10 - 3
src/views/Letter/Wallet/FundsWallet.vue

@@ -395,9 +395,16 @@ export default {
               }).then(() => {
               }).then(() => {
                 that.$api.letter.getSignSrc({
                 that.$api.letter.getSignSrc({
                   userId: userInfo.id
                   userId: userInfo.id
-                }).then(res => {
-                  if(res.data.url) {
-                    window.open(res.data.url)
+                }).then(subres => {
+                  if(subres.code == '200') {
+                    if(subres.data.url) {
+                      window.open(subres.data.url)
+                    }
+                  } else {
+                    that.$message({
+                      type: 'error',
+                      message: subres.msg,
+                    });
                   }
                   }
                 })
                 })
               })
               })