Commit 359921d6 authored by hewenhao's avatar hewenhao

feat: rename

parent 69f9ae7a
......@@ -6,14 +6,14 @@
export default {
pages: [
'pages/index/index',
'pages/main/main',
],
subPackages: {{packages}},
resizable: true,
preloadRule: {{preloadRule}},
window: {
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: '学习力成长',
navigationBarTitleText: '进击吧数学',
navigationBarTextStyle: 'black',
backgroundTextStyle: 'dark',
backgroundColor: '#F3F8FA',
......
import { View, Button, Text } from '@tarojs/components'
import { useStoreActions, useStoreState } from '@/store/hooks'
import styles from './index.module.scss'
import styles from './main.module.scss'
const IndexPage = () => {
const MainPage = () => {
const num = useStoreState(state => state.counterModel.count)
const add = useStoreActions(actions => actions.counterModel.add)
const dec = useStoreActions(actions => actions.counterModel.dec)
......@@ -19,4 +19,4 @@ const IndexPage = () => {
)
}
export default IndexPage
export default MainPage
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