Selaa lähdekoodia

修改租户默认模式为只读

haojianlong 5 vuotta sitten
vanhempi
commit
01e3a3455d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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: {