feat: 上传逻辑bug检测
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "商城",
|
"name" : "商城",
|
||||||
"appid" : "__UNI__A3FE0A4",
|
"appid" : "__UNI__A2B711F",
|
||||||
"description" : "基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
|
"description" : "基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
|
||||||
"versionName" : "2025.09",
|
"versionName" : "2025.09",
|
||||||
"versionCode" : "183",
|
"versionCode" : "183",
|
||||||
|
|||||||
@@ -500,6 +500,7 @@
|
|||||||
|
|
||||||
fail: (fail) => {
|
fail: (fail) => {
|
||||||
console.log('fail: ', fail);
|
console.log('fail: ', fail);
|
||||||
|
uni.showToast('上传图片报错了')
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -508,6 +509,7 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.questions {
|
.questions {
|
||||||
|
padding-bottom: 150rpx;
|
||||||
.question-item {
|
.question-item {
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
|
|
||||||
|
|||||||
+12
-2
@@ -14,11 +14,21 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup>
|
||||||
import sheep from '@/sheep';
|
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 = () => {
|
const nextStep = () => {
|
||||||
sheep.$router.go('/pages/base-info/index');
|
sheep.$router.go(`/pages/base-info/index?token=${token.value}`);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user