feat: 上传逻辑bug检测

This commit is contained in:
kenny
2025-10-16 10:01:04 +08:00
parent abc3710b6c
commit 617f4f6acf
3 changed files with 15 additions and 3 deletions
+12 -2
View File
@@ -14,11 +14,21 @@
</view>
</template>
<script setup lang="ts">
<script setup>
import sheep from '@/sheep';
import { ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
const token = ref('');
onLoad((e) => {
token.value = e.token;
uni.setStorageSync('token', e.token);
});
const nextStep = () => {
sheep.$router.go('/pages/base-info/index');
sheep.$router.go(`/pages/base-info/index?token=${token.value}`);
};
</script>