Skip to content

Commit

Permalink
升级依赖,修复测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Feb 7, 2025
1 parent 4b080ae commit 6cc05f3
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 26 deletions.
2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"echarts": "5.4.3",
"form-data": "4.0.0",
"lodash-es": "4.17.21",
"naive-ui": "2.35.0",
"naive-ui": "2.41.0",
"pako": "^2.1.0",
"pinia": "2.1.6",
"print-js": "1.6.0",
Expand Down
11 changes: 4 additions & 7 deletions admin/src/views/card/details/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
class="!w-[140px]"
:options="parseEnumWithAll(enums.BusinessType ?? [])"
label-field="text"
value-field="value"
/>
value-field="value" />
</n-form-item>
<n-form-item label="操作类型">
<n-select
v-model:value="listParams.operationType"
class="!w-[140px]"
:options="parseEnumWithAll(enums.OperationType ?? [])"
label-field="text"
value-field="value"
/>
value-field="value" />
</n-form-item>
<n-form-item label="时间">
<NDatePicker v-model:value="listParams.timeRange" class="pr-2 flex-1" type="daterange" clearable />
Expand All @@ -38,12 +36,11 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1024"
flex-height
remote
class="flex-1-hidden"
/>
class="flex-1-hidden" />
</div>
</n-card>
</div>
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/card/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1280"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/card/memberCardDetails/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1024"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/card/type_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1200"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/chat/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1200"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/chat/message_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1000"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/config/email_black_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.domain"
:row-key="(row: any) => row.domain"
scroll-x="1024"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/embedding/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1200"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/embedding/public_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1200"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/embedding/qa_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1600"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/management/admin_member/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1280"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/management/operation_log/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1200"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/member/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1600"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/payment/order/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1360"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/prompt/category_list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
:columns="columns"
:data="tableData"
:loading="loading"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
flex-height
remote
class="flex-1-hidden"
Expand Down
2 changes: 1 addition & 1 deletion admin/src/views/prompt/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
:data="tableData"
:loading="loading"
:pagination="pagination"
:row-key="row => row.id"
:row-key="(row: any) => row.id"
scroll-x="1600"
flex-height
remote
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"html2canvas": "^1.4.1",
"katex": "^0.16.8",
"markdown-it": "^13.0.1",
"naive-ui": "^2.37.3",
"naive-ui": "^2.41.0",
"pako": "^2.1.0",
"pinia": "^2.1.6",
"tiktoken": "^1.0.10",
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/ai_tool/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ onMounted(async () => {
style="width: 720px; max-width: 100vw; max-height: 100vh"
mask-closable
content-style="overflow: auto"
@update-show="(show) => { showPromptData = show ? showPromptData : null }"
@update-show="(show: boolean) => { showPromptData = show ? showPromptData : null }"
@close="showPromptData = null"
>
<NTabs v-model:value="activedPromptTab" animated>
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/prompt/store.vue
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ onMounted(async () => {
style="width: 720px; max-width: 100vw; max-height: 100vh"
mask-closable
content-style="overflow: auto"
@update-show="(show) => { showPromptData = show ? showPromptData : null }"
@update-show="(show: boolean) => { showPromptData = show ? showPromptData : null }"
@close="showPromptData = null"
>
<NTabs v-model:value="activedPromptTab" animated>
Expand Down

0 comments on commit 6cc05f3

Please sign in to comment.