forked from natuka/web.puabadge.com
bug修改
This commit is contained in:
1 parent
8bb73181e0
commit
fa4a71f860
3 files changed
+9
-7
No files matched your search
@@ -97,6 +97,8 @@ const getPid = async () => {
|
||||
showLoadingToast({
|
||||
message: '上传中...',
|
||||
forbidClick: true,
|
||||
loadingType: 'spinner',
|
||||
duration: 0,
|
||||
})
|
||||
// kindId.value = checkId.value == 0 ? getRandomNumber() : checkId.value
|
||||
const params = {
|
||||
@@ -176,7 +178,7 @@ const sendToOss = async (src: string, url: string) => {
|
||||
if (--pendingUploads.value === 0 && !isAnotherAPICalled.value) {
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
kind_id: kindId.value,
|
||||
kind_id: checkId.value,
|
||||
extend_value: isBgShow.value ? -1 : 0,
|
||||
group: 1,
|
||||
}
|
||||
@@ -204,7 +206,7 @@ const createLog = () => {
|
||||
const params = {
|
||||
pid: pid.value,
|
||||
group: 1,
|
||||
kind_id: kindId.value,
|
||||
kind_id: checkId.value,
|
||||
}
|
||||
badgeApi.createLog(params).then((res: any) => {
|
||||
console.log('createLog', res)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="status-info">
|
||||
<div class="status-title">{{ getStatus(order.status) }}</div>
|
||||
<div class="status-desc">
|
||||
下单后预计需要7天完成生产发货。如对产品有疑问,可以联系客服咨询。
|
||||
下单后预计需要10天完成生产发货。如对产品有疑问,可以联系客服咨询。
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding: 0 16px;">
|
||||
|
||||
@@ -190,10 +190,6 @@ function compare() {
|
||||
const kindList = ref([])
|
||||
const checkId = ref(0)
|
||||
function reload() {
|
||||
if (checkId.value == 0) {
|
||||
showToast('请选择风格样式')
|
||||
return
|
||||
}
|
||||
badgeApi.getKindList({
|
||||
page: 1,
|
||||
size: 20,
|
||||
@@ -216,6 +212,10 @@ function reload() {
|
||||
// }
|
||||
function sureReload() {
|
||||
console.log('sureReload')
|
||||
if (checkId.value == 0) {
|
||||
showToast('请选择风格样式')
|
||||
return
|
||||
}
|
||||
imageUrl.value = '';
|
||||
group.value = newGroup.value
|
||||
const params = {
|
||||
|
||||
Reference in new issue
Block a user