Prechádzať zdrojové kódy

Merge branch 'tenant' into dev

haojianlong 5 rokov pred
rodič
commit
7f98c7af2f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/views/ledger/rentlist/index.vue

+ 1 - 1
src/views/ledger/rentlist/index.vue

@@ -116,7 +116,7 @@ export default {
     }
   },
   created() {
-    this.onlyRead = this.$route.query.onlyRead ==='true' || this.$route.query.onlyRead ===true;
+    this.onlyRead = this.$route.query.onlyRead ==='true' || this.$route.query.onlyRead === true || !this.$route.query.onlyRead;
     this.getTableHeader()
   },
   watch: {