fix: accept改回image/*让iOS自动转HEIC
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 4s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 8s
Test / e2e-test (push) Failing after 56s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 17:40:30 +00:00
parent 812da98abc
commit 5b51403274

View File

@@ -125,7 +125,7 @@
<img v-if="brandQrImage" :src="brandQrImage" class="upload-box-img" /> <img v-if="brandQrImage" :src="brandQrImage" class="upload-box-img" />
<span v-else class="upload-box-hint">点击上传</span> <span v-else class="upload-box-hint">点击上传</span>
</div> </div>
<input ref="qrInput" type="file" accept="image/jpeg,image/png,image/webp,image/heic,image/heif" style="display:none" @change="handleUpload('qr', $event)" /> <input ref="qrInput" type="file" accept="image/*" style="display:none" @change="handleUpload('qr', $event)" />
<button v-if="brandQrImage" class="btn-clear" @click="clearBrandImage('qr')">清除</button> <button v-if="brandQrImage" class="btn-clear" @click="clearBrandImage('qr')">清除</button>
</div> </div>
@@ -137,7 +137,7 @@
<img v-if="brandBg" :src="brandBg" class="upload-box-img" /> <img v-if="brandBg" :src="brandBg" class="upload-box-img" />
<span v-else class="upload-box-hint">点击上传</span> <span v-else class="upload-box-hint">点击上传</span>
</div> </div>
<input ref="bgInput" type="file" accept="image/jpeg,image/png,image/webp,image/heic,image/heif" style="display:none" @change="handleUpload('bg', $event)" /> <input ref="bgInput" type="file" accept="image/*" style="display:none" @change="handleUpload('bg', $event)" />
<button v-if="brandBg" class="btn-clear" @click="clearBrandImage('bg')">清除</button> <button v-if="brandBg" class="btn-clear" @click="clearBrandImage('bg')">清除</button>
</div> </div>
@@ -149,7 +149,7 @@
<img v-if="brandLogo" :src="brandLogo" class="upload-box-img" /> <img v-if="brandLogo" :src="brandLogo" class="upload-box-img" />
<span v-else class="upload-box-hint">点击上传</span> <span v-else class="upload-box-hint">点击上传</span>
</div> </div>
<input ref="logoInput" type="file" accept="image/jpeg,image/png,image/webp,image/heic,image/heif" style="display:none" @change="handleUpload('logo', $event)" /> <input ref="logoInput" type="file" accept="image/*" style="display:none" @change="handleUpload('logo', $event)" />
<button v-if="brandLogo" class="btn-clear" @click="clearBrandImage('logo')">清除</button> <button v-if="brandLogo" class="btn-clear" @click="clearBrandImage('logo')">清除</button>
</div> </div>
</div> </div>