diff --git a/pages/API/create-selector-query/create-selector-query.uvue b/pages/API/create-selector-query/create-selector-query.uvue index e7951df437cce4259d226b19cba3219575d341e6..7714c242655ea9191c189ee5c49c3cf7294a352a 100644 --- a/pages/API/create-selector-query/create-selector-query.uvue +++ b/pages/API/create-selector-query/create-selector-query.uvue @@ -81,9 +81,9 @@ } }, onReady() { - const instance = (this.$refs['multi-child'] as ComponentPublicInstance) - this.selectCount = instance.$data['selectCount'] as Number - this.selectAllCount = instance.$data['selectAllCount'] as Number + const instance2 = (this.$refs['multi-child'] as ComponentPublicInstance) + this.selectCount = instance2.$data['selectCount'] as Number + this.selectAllCount = instance2.$data['selectAllCount'] as Number console.log('selectCount', selectCount, selectAllCount) }, onResize() {