fix: formate code and test money
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m8s

This commit is contained in:
luo
2026-08-18 10:54:01 +08:00
parent 857d565f33
commit 93f67967c5
32 changed files with 183 additions and 112 deletions

View File

@@ -279,8 +279,8 @@
}
.package-config-field-label {
color: var(--el-text-color-secondary);
font-size: 13px;
color: var(--el-text-color-secondary);
white-space: nowrap;
}

View File

@@ -57,8 +57,8 @@
import { Close, Document, UploadFilled } from '@element-plus/icons-vue'
import type { UploadFile, UploadInstance, UploadRawFile } from 'element-plus'
import { StorageService } from '@/api/modules'
import type { RefundAttachment } from '@/types/api/refund'
import type { FilePurpose } from '@/api/modules/storage'
import type { RefundAttachment } from '@/types/api/refund'
import type { FilePurpose } from '@/api/modules/storage'
interface Props {
modelValue?: string[] | string
@@ -202,7 +202,10 @@
if (props.singleColumnCsv) {
const content = await file.text()
const rows = content.replace(/^\uFEFF/, '').split(/\r?\n/).filter(Boolean)
const rows = content
.replace(/^\uFEFF/, '')
.split(/\r?\n/)
.filter(Boolean)
if (props.maxCsvRows > 0 && Math.max(rows.length - 1, 0) > props.maxCsvRows) {
ElMessage.warning(`CSV 数据行不能超过 ${props.maxCsvRows} 行`)
removeUploadFile(uploadFile)
@@ -250,7 +253,7 @@
const uploadUrlRes = await StorageService.getUploadUrl({
file_name: file.name,
content_type: contentType,
purpose: props.purpose
purpose: props.purpose
})
if (uploadUrlRes.code !== 0) {

View File

@@ -928,8 +928,8 @@
.integration-hero__result {
display: grid;
justify-items: end;
gap: 5px;
justify-items: end;
text-align: right;
}
@@ -1008,8 +1008,8 @@
}
.integration-hero {
align-items: flex-start;
flex-direction: column;
align-items: flex-start;
}
.integration-hero__result {

View File

@@ -65,10 +65,7 @@
</div>
</div>
<!-- 通知 -->
<div
class="btn-box notice-btn"
@click.stop="showNotice = !showNotice"
>
<div class="btn-box notice-btn" @click.stop="showNotice = !showNotice">
<div class="btn notice-button">
<i class="iconfont-sys">&#xe6c2;</i>
<span v-if="unreadCount > 0" class="notice-count">{{ formattedUnreadCount }}</span>