优化后,再次提交

This commit is contained in:
王利强
2026-05-03 09:08:56 +08:00
parent 721ef0ad54
commit 805747d1d9
1243 changed files with 46213 additions and 221 deletions

View File

@@ -38,7 +38,7 @@
</view>
<!-- 新增按钮 -->
<button class="add-btn cuIcon-add bg-blue round" @click="openAddPopup">+ 新增</button>
<button class="add-btn cuIcon-add bg-blue round" @click="openAddPopup">新增</button>
<!-- 新增/编辑证照弹窗 -->
<u-popup :show="showAddPopup" mode="center" round="20" @close="closePopup">
@@ -181,7 +181,7 @@ import {
updateLicense,
deleteLicense
} from '@/request/three_one_api/license.js';
import { baseUrl, getToken } from '@/request/request.js';
import { getToken, toImageUrl } from '@/request/request.js';
// 证照列表
const licenseList = ref([]);
@@ -228,8 +228,7 @@ onMounted(() => {
// 获取图片完整URL
const getImageUrl = (path) => {
if (!path) return '';
if (path.startsWith('http')) return path;
return baseUrl + path;
return toImageUrl(path);
};
// 预览图片