🐳 chore(修改eslint规则):

This commit is contained in:
czm 2022-12-05 17:01:06 +08:00
parent 639112c038
commit 54337b65d6
3 changed files with 4 additions and 5 deletions

View File

@ -8,6 +8,7 @@
"no-prototype-builtins": "off",
"import/first": "off",
"react/no-children-prop": "off",
"import/no-commonjs": "off"
"import/no-commonjs": "off",
"ignoreTranspilerName": false
}
}

View File

@ -15,7 +15,7 @@ import { dataLoadingStatus, getFilterData } from '@/common/util'
import LoadingCard from '@/components/loadingCard'
import useLogin from '@/use/useLogin'
const ClassList = () => {
export default () => {
useLogin()
const [showPopup, setShowPopup] = useState(false)
@ -146,4 +146,3 @@ const ClassList = () => {
</View>
)
}
export default ClassList

View File

@ -12,7 +12,7 @@ import { alert, goLink } from '@/common/common'
import { CreateFavoriteApi, DelFavoriteApi, FavoriteListApi, UpdateFavoriteApi } from '@/api/favorite'
import useLogin from '@/use/useLogin'
const Collection = () => {
export default () => {
useLogin()
// 获取搜索数据
@ -167,4 +167,3 @@ const Collection = () => {
)
}
export default Collection