提交 aaba7417 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor: remove auxiliary code

上级 7dd58912
...@@ -18,7 +18,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' ...@@ -18,7 +18,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts'
export default { export default {
data() { data() {
return { return {
_state: state as State,
lifeCycleNum: 0, lifeCycleNum: 0,
} }
}, },
......
...@@ -59,7 +59,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' ...@@ -59,7 +59,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts'
export default { export default {
data() { data() {
return { return {
_state: state as State,
onLoadTime: 0, onLoadTime: 0,
onShowTime: 0, onShowTime: 0,
onReadyTime: 0, onReadyTime: 0,
...@@ -349,7 +348,7 @@ export default { ...@@ -349,7 +348,7 @@ export default {
}, },
customAnimation() { customAnimation() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/API/navigator/new-page/new-page-2?data=自定义动画打开页面', url: '/pages/API/navigator/new-page/new-page-1?data=自定义动画打开页面',
animationType: 'slide-in-bottom', animationType: 'slide-in-bottom',
animationDuration: 200, animationDuration: 200,
}) })
......
...@@ -17,7 +17,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' ...@@ -17,7 +17,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts'
export default { export default {
data() { data() {
return { return {
_state: state as State,
isScrolled: false, isScrolled: false,
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册