Explorar el Código

修改租户默认模式为只读

haojianlong hace 5 años
padre
commit
01e3a3455d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: {