fix: disable submit button for SUBMITTING state stores
- Add SUBMITTING to isStoreActiveReview check to prevent duplicate submissions - Show '上传中,将跳过' text for SUBMITTING state in submit dialog - Prevents users from accidentally triggering duplicate uploads Co-Authored-By: Claude <noreply@anthropic.com>
这个提交包含在:
父节点
894e175869
当前提交
2abed7f60d
@ -589,7 +589,7 @@
|
||||
<span
|
||||
v-if="isStoreActiveReview(submitStoreVersion, store.type)"
|
||||
style="font-size:12px;color:var(--el-text-color-secondary);margin-left:6px"
|
||||
>审核进行中,将跳过</span>
|
||||
>{{ getSubmitDialogStoreState(submitStoreVersion, store.type) === 'SUBMITTING' ? '上传中,将跳过' : '审核进行中,将跳过' }}</span>
|
||||
</div>
|
||||
</el-checkbox-group>
|
||||
<el-alert
|
||||
@ -1779,7 +1779,7 @@ function getSubmitDialogStoreState(version: AppVersion | null, storeType: string
|
||||
|
||||
function isStoreActiveReview(version: AppVersion | null, storeType: string): boolean {
|
||||
const state = getSubmitDialogStoreState(version, storeType)
|
||||
return state === 'UNDER_REVIEW' || state === 'APPROVED'
|
||||
return state === 'UNDER_REVIEW' || state === 'APPROVED' || state === 'SUBMITTING'
|
||||
}
|
||||
|
||||
function parseStoreTargets(json?: string) {
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户