|
@@ -184,6 +184,7 @@ import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
|
|
|
import uniCopy from '@/components/js_sdk/xb-copy/uni-copy.js';
|
|
|
import { user_auction_order, upload, up_image, edit_voucher, time } from '@/api/order.js';
|
|
|
import { timeComputed } from '@/utils/rocessor.js';
|
|
|
+// import { json } from 'node:stream/consumers';
|
|
|
export default {
|
|
|
components: {
|
|
|
uniCountdowns
|
|
@@ -222,7 +223,12 @@ export default {
|
|
|
filename: ''
|
|
|
}).then(data => {
|
|
|
this.image = data[0].url;
|
|
|
- console.log(this.image);
|
|
|
+ }).catch((e)=>{
|
|
|
+ uni.showModal({
|
|
|
+ title: '上传失败',
|
|
|
+ content: JSON.stringify(e),
|
|
|
+ showCancel: false,
|
|
|
+ });
|
|
|
});
|
|
|
},
|
|
|
getpayTime() {
|