소스 검색

feaet bmi

huangyouyou 10 달 전
부모
커밋
32a4f4700b
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      pages/index/init.vue

+ 6 - 1
pages/index/init.vue

@@ -58,7 +58,7 @@
 
 <script setup>
 import { onActivated, onMounted, reactive, ref } from "vue";
-import config from "@/utils/config";
+import { navTo, showToast } from "@/utils/app";
 
 const imgUrl = ref('/static/image/bmi-init')
 const curStep = ref(1)
@@ -69,6 +69,11 @@ const loginForm = ref({
 
 const changeStep = () => {
   curStep.value += 1
+  if(curStep.value == 5){
+    navTo('pages/index/index', {
+
+    })
+  }
 }
 
 // 挂载完成之后