缓存条件增加多个匹配方式/优化缓存设置界面

This commit is contained in:
GoEdgeLab
2021-05-12 15:07:30 +08:00
parent 1df0f4a605
commit 37bc3c0879
7 changed files with 87 additions and 11 deletions

View File

@@ -10,10 +10,16 @@ Vue.component("http-request-conds-view", {
}
}
return {
conds: conds,
initConds: conds,
components: window.REQUEST_COND_COMPONENTS
}
},
computed: {
// 之所以使用computed是因为需要动态更新
conds: function () {
return this.initConds
},
},
methods: {
typeName: function (cond) {
let c = this.components.$find(function (k, v) {