fix: bug#32748【仪表盘】【2.2/master】当集群部署时,仪表盘获取的集群节点展示需修改为id
This commit is contained in:
parent
099db8c2dc
commit
5b76b078d2
|
@ -124,7 +124,7 @@ onMounted(() => {
|
|||
serverNode().then((resp: any) => {
|
||||
if (resp.success) {
|
||||
serverNodeOptions.value = resp.result.map((item: any) => ({
|
||||
label: item.name,
|
||||
label: item.id,
|
||||
value: item.id,
|
||||
}));
|
||||
if (serverNodeOptions.value.length) {
|
||||
|
|
|
@ -104,7 +104,7 @@ export default defineConfig(({ mode}) => {
|
|||
// target: 'http://192.168.32.207:8844', // 刘本地
|
||||
// target: 'http://192.168.32.187:8844', // 谭本地
|
||||
// target: 'http://192.168.33.66:8844', // 苟本地
|
||||
// target: 'http://192.168.35.155:8844', // 王本地
|
||||
// target: 'http://192.168.32.137:8844', // 王本地
|
||||
ws: 'ws://192.168.33.46:8844',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
|
|
Loading…
Reference in New Issue