Kaynağa Gözat

计算器-分享

panyong 3 yıl önce
ebeveyn
işleme
b6b0c5585f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      htmldev/loan/src/views/loan/mall/index.vue

+ 1 - 1
htmldev/loan/src/views/loan/mall/index.vue

@@ -48,7 +48,7 @@ export default {
     fetchUserShare () {
       getUserShare().then(res => {
         if (res.status) {
-          if (Object.prototype.toString.call(res.data) === '[object Array]') {
+          if (Object.prototype.toString.call(res.data) === '[object Object]') {
             this.userShareConfig = res.data
           }
         } else {