fix: 更新API和WebSocket代理地址,新增区域图标,优化表格行选择逻辑

This commit is contained in:
xudan 2025-07-01 14:46:31 +08:00
parent 33f665d5fd
commit 8ef5374fa3
9 changed files with 7 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

View File

@ -84,7 +84,7 @@ const submit = () => {
:rowSelection="{
columnWidth: 32,
selectedRowKeys: selected,
onChange: (keys) => (selected = keys as string[]),
onChange: (keys: any) => (selected = keys),
}"
:scroll="{ y: 400 }"
bordered

View File

@ -69,7 +69,7 @@ const submit = () => {
:rowSelection="{
columnWidth: 32,
selectedRowKeys: selected,
onChange: (keys) => (selected = keys as string[]),
onChange: (keys: any) => (selected = keys),
}"
:scroll="{ y: 400 }"
bordered

View File

@ -53,7 +53,7 @@ const submit = () => {
:rowSelection="{
columnWidth: 32,
selectedRowKeys: selected,
onChange: (keys) => (selected = keys as string[]),
onChange: (keys: any) => (selected = keys),
}"
:scroll="{ y: 400 }"
bordered

View File

@ -54,7 +54,7 @@ const submit = () => {
:rowSelection="{
columnWidth: 32,
selectedRowKeys: selected,
onChange: (keys) => (selected = keys as string[]),
onChange: (keys: any) => (selected = keys),
}"
:scroll="{ y: 400 }"
bordered

View File

@ -117,7 +117,7 @@ const handleRestoreViewState = async () => {
<a-layout-header class="p-16" style="height: 64px">
<a-flex justify="space-between" align="center">
<a-typography-text class="title">{{ title }}--场景仿真</a-typography-text>
<!-- <a-button type="primary" :loading="isSaving" @click="handleSaveViewState"> 保存比例 </a-button> -->
<a-button type="primary" :loading="isSaving" @click="handleSaveViewState"> 保存比例 </a-button>
</a-flex>
</a-layout-header>

View File

@ -45,12 +45,12 @@ export default ({ mode }: Record<string, unknown>) =>
proxy: {
'/mocks/': { target: 'http://localhost:8888/web-amr' },
'/api/': {
target: 'http://192.168.189.80:8080/jeecg-boot',
target: 'http://192.168.189.206:8080/jeecg-boot',
rewrite: (path) => path.replace(/^\/api/, ''),
changeOrigin: true,
},
'/ws/': {
target: 'ws://192.168.189.80:8080/jeecg-boot',
target: 'ws://192.168.189.206:8080/jeecg-boot',
rewrite: (path) => path.replace(/^\/ws/, ''),
changeOrigin: true,
ws: true,