瀏覽代碼

修改租户默认模式为只读

haojianlong 5 年之前
父節點
當前提交
01e3a3455d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: {