fix: 更新API和WebSocket代理地址,新增区域图标,优化表格行选择逻辑
This commit is contained in:
parent
33f665d5fd
commit
8ef5374fa3
BIN
src/assets/icons/light/area13-active.png
Normal file
BIN
src/assets/icons/light/area13-active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 578 B |
BIN
src/assets/icons/light/area13-detail.png
Normal file
BIN
src/assets/icons/light/area13-detail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 568 B |
BIN
src/assets/icons/light/area13.png
Normal file
BIN
src/assets/icons/light/area13.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 536 B |
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user