版本管理

This commit is contained in:
zx 2024-03-23 16:51:14 +08:00
parent 57d6425a56
commit a9c7d19e52
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "lx-music-mobile", "name": "lx-music-mobile",
"version": "1.3.0-beta.1", "version": "8.8.8-肥猫宝贝",
"versionCode": 63, "versionCode": 63,
"private": true, "private": true,
"scripts": { "scripts": {
@ -88,4 +88,4 @@
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.4.2" "typescript": "^5.4.2"
} }
} }

View File

@ -66,7 +66,7 @@ const Footer = ({ componentId }: { componentId: string }) => {
const theme = useTheme() const theme = useTheme()
const isAgreePact = useSettingValue('common.isAgreePact') const isAgreePact = useSettingValue('common.isAgreePact')
// const checkUpdate = useDispatch('common', 'checkUpdate') // const checkUpdate = useDispatch('common', 'checkUpdate')
const [time, setTime] = useState(20) const [time, setTime] = useState(1)
const handleRejct = () => { const handleRejct = () => {
exitApp() exitApp()
@ -121,7 +121,7 @@ const Footer = ({ componentId }: { componentId: string }) => {
return () => { return () => {
timeoutTools.clear() timeoutTools.clear()
} }
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, []) }, [])
return ( return (
@ -130,18 +130,18 @@ const Footer = ({ componentId }: { componentId: string }) => {
isAgreePact isAgreePact
? null ? null
: ( : (
<Text selectable style={styles.tip} size={13}>使退</Text> <Text selectable style={styles.tip} size={13}>使退</Text>
) )
} }
<View style={styles.btns}> <View style={styles.btns}>
{ {
isAgreePact isAgreePact
? null ? null
: ( : (
<Button style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleRejct}> <Button style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleRejct}>
<Text color={theme['c-button-font']}></Text> <Text color={theme['c-button-font']}></Text>
</Button> </Button>
) )
} }
<Button disabled={confirmBtn.disabled} style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleConfirm}> <Button disabled={confirmBtn.disabled} style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleConfirm}>
<Text color={theme['c-button-font']}>{confirmBtn.text}</Text> <Text color={theme['c-button-font']}>{confirmBtn.text}</Text>