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