nit showExpr
This commit is contained in:
@@ -239,7 +239,17 @@
|
||||
})
|
||||
$effect.pre(() => {
|
||||
;[schema, args]
|
||||
|
||||
if (args && typeof args == 'object') {
|
||||
let oneShowExpr = false
|
||||
for (const key of fields) {
|
||||
if (schema.properties?.[key.value]?.showExpr) {
|
||||
oneShowExpr = true
|
||||
}
|
||||
}
|
||||
if (!oneShowExpr) {
|
||||
return
|
||||
}
|
||||
for (const key in args) {
|
||||
args[key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user