From aaba7417b302a16aab0530cca936bd45bc79758a Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Mon, 14 Aug 2023 19:33:42 +0800 Subject: [PATCH] refactor: remove auxiliary code --- pages/API/get-app/get-app.uvue | 1 - pages/API/navigator/navigator.uvue | 3 +-- pages/API/navigator/new-page/new-page-2.uvue | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue index 6e346ac9..f6f71119 100644 --- a/pages/API/get-app/get-app.uvue +++ b/pages/API/get-app/get-app.uvue @@ -18,7 +18,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' export default { data() { return { - _state: state as State, lifeCycleNum: 0, } }, diff --git a/pages/API/navigator/navigator.uvue b/pages/API/navigator/navigator.uvue index 56db75e7..e38bd6f9 100644 --- a/pages/API/navigator/navigator.uvue +++ b/pages/API/navigator/navigator.uvue @@ -59,7 +59,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' export default { data() { return { - _state: state as State, onLoadTime: 0, onShowTime: 0, onReadyTime: 0, @@ -349,7 +348,7 @@ export default { }, customAnimation() { 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', animationDuration: 200, }) diff --git a/pages/API/navigator/new-page/new-page-2.uvue b/pages/API/navigator/new-page/new-page-2.uvue index 43151005..b41bbc33 100644 --- a/pages/API/navigator/new-page/new-page-2.uvue +++ b/pages/API/navigator/new-page/new-page-2.uvue @@ -17,7 +17,6 @@ import { State, state, setLifeCycleNum } from '@/store/index.uts' export default { data() { return { - _state: state as State, isScrolled: false, } }, -- GitLab