实现缓存策略若干功能

This commit is contained in:
GoEdgeLab
2020-10-04 16:09:50 +08:00
parent de5ad48070
commit db21a86825
17 changed files with 667 additions and 9 deletions

View File

@@ -1,8 +1,10 @@
Tea.context(function () {
if (this.clusters.length > 0) {
this.clusterId = this.clusters[0].id
} else {
this.clusterId = 0
if (this.clusterId == null) {
if (this.clusters.length > 0) {
this.clusterId = this.clusters[0].id
} else {
this.clusterId = 0
}
}
this.isRequestingWrite = false