소스 검색

修改租户默认模式为只读

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: {