feat: 上传逻辑bug检测
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user