Browse Source

feaet bmi

huangyouyou 10 months ago
parent
commit
32a4f4700b
1 changed files with 6 additions and 1 deletions
  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', {
+
+    })
+  }
 }
 
 // 挂载完成之后