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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name" : "商城",
"appid" : "__UNI__A3FE0A4",
"appid" : "__UNI__A2B711F",
"description" : "基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
"versionName" : "2025.09",
"versionCode" : "183",
+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>