浏览代码

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', {
+
+    })
+  }
 }
 
 // 挂载完成之后