mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [client] sync upgrade with 3 commits [trident-sync]
fix: _index列 被conditionalRender影响的bug refactor:
This commit is contained in:
@@ -40,7 +40,8 @@ function install(app: any, options: any = {}) {
|
||||
conditionalRender: {
|
||||
match(scope) {
|
||||
//不能用 !scope.value , 否则switch组件设置为关之后就消失了
|
||||
return scope.value == null || (scope.value instanceof Array && scope.value.length === 0);
|
||||
const { value, key } = scope;
|
||||
return !value && key != "_index" && value != false;
|
||||
},
|
||||
render() {
|
||||
return "-";
|
||||
|
||||
Reference in New Issue
Block a user