Просмотр исходного кода

fix:修改提现签约提示语

wuguojie 1 год назад
Родитель
Сommit
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(() => {
                 that.$api.letter.getSignSrc({
                   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,
+                    });
                   }
                 })
               })