Commit ea5c1696 authored by mqf_0707's avatar mqf_0707

Merge branch 'c_client_taro-pack' of...

Merge branch 'c_client_taro-pack' of http://gitlab2.dui88.com/qinhaitao/taobao-mini-template into c_client_taro-pack
parents 4e1b3453 3da8808d
...@@ -67,7 +67,7 @@ const Barrage = props => { ...@@ -67,7 +67,7 @@ const Barrage = props => {
useEffect(() => { useEffect(() => {
createData() createData()
return () => {} return () => {}
}, []) }, [ dataList ])
return ( return (
<View id='barrage_wrap' style={`width:${width / 100}rem`} className={styles['barrage-wrap']}> <View id='barrage_wrap' style={`width:${width / 100}rem`} className={styles['barrage-wrap']}>
......
...@@ -21,7 +21,7 @@ const ProgressNode = memo(props => { ...@@ -21,7 +21,7 @@ const ProgressNode = memo(props => {
const { maxLevel, nodeClassName } = useMemo( const { maxLevel, nodeClassName } = useMemo(
() => useContext(ProgressContext), () => useContext(ProgressContext),
ProgressContext [ ProgressContext ]
) )
const getNodeStyle = classnames(styles['defualt-progress-node'], { const getNodeStyle = classnames(styles['defualt-progress-node'], {
......
...@@ -22,7 +22,7 @@ const Progress = memo(props => { ...@@ -22,7 +22,7 @@ const Progress = memo(props => {
const LevelList = useMemo(() => { const LevelList = useMemo(() => {
return levelList return levelList
}, levelList) }, [ levelList ])
// 合并全局配置 // 合并全局配置
const mergeConfigToDefault = useCallback(config => { const mergeConfigToDefault = useCallback(config => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment