You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
参考demo写的 手风琴 ,在 taro 3.0.5下会报错
Uncaught (in promise) ReferenceError: _createSelectorQuery is not defined
at eval (index.umd.js?ac0a:1379)
at new Promise ()
at delayQuerySelector (index.umd.js?ac0a:1378)
at AtAccordion.toggleWithAnimation (index.umd.js?ac0a:4940)
at AtAccordion.UNSAFE_componentWillReceiveProps (index.umd.js?ac0a:4964)
at callComponentWillReceiveProps (react-dom.development.js?61bb:12976)
at updateClassInstance (react-dom.development.js?61bb:13178)
at updateClassComponent (react-dom.development.js?61bb:17107)
at beginWork (react-dom.development.js?61bb:18620)
at beginWork$1 (react-dom.development.js?61bb:23179)
参考demo写的 手风琴 ,在 taro 3.0.5下会报错
Uncaught (in promise) ReferenceError: _createSelectorQuery is not defined
at eval (index.umd.js?ac0a:1379)
at new Promise ()
at delayQuerySelector (index.umd.js?ac0a:1378)
at AtAccordion.toggleWithAnimation (index.umd.js?ac0a:4940)
at AtAccordion.UNSAFE_componentWillReceiveProps (index.umd.js?ac0a:4964)
at callComponentWillReceiveProps (react-dom.development.js?61bb:12976)
at updateClassInstance (react-dom.development.js?61bb:13178)
at updateClassComponent (react-dom.development.js?61bb:17107)
at beginWork (react-dom.development.js?61bb:18620)
at beginWork$1 (react-dom.development.js?61bb:23179)
代码如下:
import Taro from '@tarojs/taro';
import React, { Component } from 'react';
import './index.less';
import { AtAccordion, AtList, AtListItem } from 'taro-ui'
export default class TaroAccordion extends Component {
constructor () {
super(...arguments)
this.state = {
open: false,
}
}
handleClick (value) {
this.setState({
open: value
})
}
render () {
return (
)
}
}
The text was updated successfully, but these errors were encountered: