panyong před 3 roky
rodič
revize
b6b0c5585f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {