🐳 chore(eslint): 修正所有文件的eslint 错误❌
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { MovableArea, MovableView, View } from '@tarojs/components'
|
||||
import Taro, { useReady } from '@tarojs/taro'
|
||||
import type { ReactElement } from 'react'
|
||||
import type { ReactElement } from 'react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import classnames from 'classnames'
|
||||
import styles from './index.module.scss'
|
||||
@@ -12,7 +12,7 @@ interface param {
|
||||
children?: ReactElement|null
|
||||
onClick?: () => void
|
||||
}
|
||||
export default ({ children = null, onClick }: param) => {
|
||||
const MoveBtn = ({ children = null, onClick }: param) => {
|
||||
// 获取购物车数据数量
|
||||
const { getShopCount, commonData } = useCommonData()
|
||||
|
||||
@@ -46,4 +46,5 @@ export default ({ children = null, onClick }: param) => {
|
||||
</MovableView>}
|
||||
</MovableArea>
|
||||
)
|
||||
}
|
||||
}
|
||||
export default MoveBtn
|
||||
|
||||
Reference in New Issue
Block a user