mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 06:10:26 +08:00
缓存条件增加多个匹配方式/优化缓存设置界面
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user