diff --git a/pages/component/general-attribute/general-attribute.uvue b/pages/component/general-attribute/general-attribute.uvue index 16a54b0ecfcf9960039617f73217c7730949a1e5..7402baf088ec468b686b2391a5508b406849e712 100644 --- a/pages/component/general-attribute/general-attribute.uvue +++ b/pages/component/general-attribute/general-attribute.uvue @@ -76,8 +76,7 @@ export default { this.validateGeneralAttrText = '基础属性 id 验证失败' return } - const classList = generalTarget.ext['classList'] as string[] - if (!classList.includes('general-class')) { + if (!generalTarget.classList.includes('general-class')) { this.validateGeneralAttrText = '基础属性 class 验证失败' return }