fix 部分弹窗列表数据不能正常显示

This commit is contained in:
bwcx_jzy 2024-01-09 18:40:50 +08:00
parent c1bd6c25c5
commit 8431cacd3c
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
5 changed files with 16 additions and 4 deletions

View File

@ -8,6 +8,8 @@
1. 【server】优化 上传文件前解析文件信息采用全局 loading
2. 【server】优化 构建流程交互(采用步骤条)
3. 【server】修复 部分 icon 未更新、部分弹窗列表数据不能正常显示
4. 【server】修复 docker-compose 容器状态无非正确显示
------

View File

@ -371,7 +371,7 @@
<!-- 批量操作状态 -->
<a-modal destroyOnClose v-model:value="batchVisible" :title="temp.title" :footer="null" @cancel="batchClose">
<a-list bordered :data-source="temp.data">
<template v-slot:renderItem="item">
<template v-slot:renderItem="{ item }">
<a-list-item>
<a-list-item-meta>
<!-- <template #description> :="item.whitelistDirectory" </template> -->

View File

@ -429,7 +429,7 @@
<a-tabs>
<a-tab-pane key="1" tab="docker">
<a-list bordered :data-source="workspaceDockerData && workspaceDockerData.dockerList">
<template v-slot:renderItem="item">
<template v-slot:renderItem="{ item }">
<a-list-item style="display: block">
<a-row>
<a-col :span="10">Docker 名称{{ item.name }}</a-col>
@ -442,7 +442,7 @@
</a-tab-pane>
<a-tab-pane key="2" tab="集群">
<a-list bordered :data-source="workspaceDockerData && workspaceDockerData.swarmList">
<template v-slot:renderItem="item">
<template v-slot:renderItem="{ item }">
<a-list-item style="display: block">
<a-row>
<a-col :span="10">集群名称{{ item.name }}</a-col>

View File

@ -458,7 +458,7 @@
:maskClosable="false"
>
<a-list bordered :data-source="nodeList">
<template v-slot:renderItem="item">
<template v-slot:renderItem="{ item }">
<a-list-item style="display: block">
<a-row>
<a-col :span="10">节点名称{{ item.name }}</a-col>

View File

@ -48,9 +48,19 @@ export default defineConfig(({ mode }: ConfigEnv) => {
alias: {
'@/': `${path.resolve(__dirname, 'src')}/`
},
dedupe: ['vue'],
preserveSymlinks: false,
// 忽略后缀名的配置选项
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
},
rollupOptions: {
external: ['vue'],
output: {
globals: {
vue: 'Vue'
}
}
},
build: {
sourcemap: mode !== 'production', // 非生产环境都生成sourcemap
outDir: '../modules/server/src/main/resources/dist'