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
+2
View File
@@ -500,6 +500,7 @@
fail: (fail) => {
console.log('fail: ', fail);
uni.showToast('上传图片报错了')
},
});
});
@@ -508,6 +509,7 @@
<style lang="scss" scoped>
.questions {
padding-bottom: 150rpx;
.question-item {
padding: 30rpx;
+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>