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>
这个提交包含在:
XuqmGroup 2026-07-02 18:59:02 +08:00
父节点 894e175869
当前提交 2abed7f60d

查看文件

@ -589,7 +589,7 @@
<span <span
v-if="isStoreActiveReview(submitStoreVersion, store.type)" v-if="isStoreActiveReview(submitStoreVersion, store.type)"
style="font-size:12px;color:var(--el-text-color-secondary);margin-left:6px" style="font-size:12px;color:var(--el-text-color-secondary);margin-left:6px"
>审核进行中将跳过</span> >{{ getSubmitDialogStoreState(submitStoreVersion, store.type) === 'SUBMITTING' ? '上传中,将跳过' : '审核进行中,将跳过' }}</span>
</div> </div>
</el-checkbox-group> </el-checkbox-group>
<el-alert <el-alert
@ -1779,7 +1779,7 @@ function getSubmitDialogStoreState(version: AppVersion | null, storeType: string
function isStoreActiveReview(version: AppVersion | null, storeType: string): boolean { function isStoreActiveReview(version: AppVersion | null, storeType: string): boolean {
const state = getSubmitDialogStoreState(version, storeType) const state = getSubmitDialogStoreState(version, storeType)
return state === 'UNDER_REVIEW' || state === 'APPROVED' return state === 'UNDER_REVIEW' || state === 'APPROVED' || state === 'SUBMITTING'
} }
function parseStoreTargets(json?: string) { function parseStoreTargets(json?: string) {