fix/0524_ch
向文可 3 years ago
parent 8ce66dfae1
commit 000a2e1ff1

@ -15,7 +15,7 @@
{{ props.message.fromNickname }} {{ props.message.fromNickname }}
</div> </div>
<template v-if="messageType[props.message.type] === 'custom'"> <template v-if="messageType[props.message.type] === 'custom'">
<a v-if="content.type === 'link'" class="content shadow" :href="content.linkJump"> <a v-if="content.type === 'link'" class="content shadow" :href="content.linkJump" target="_blank">
{{ content.content }} {{ content.content }}
</a> </a>
<el-card v-if="content.type === 'product'" class="shadow"> <el-card v-if="content.type === 'product'" class="shadow">

@ -135,7 +135,7 @@
prop: 'roles', prop: 'roles',
minWidth: 160, minWidth: 160,
slots: { slots: {
default: ({ row }) => row.roleList.map((item) => item.roleName).join(','), default: ({ row }) => row.roleList?.map((item) => item.roleName).join(',') || '无',
}, },
}, },
{ {

@ -21,10 +21,10 @@ export default (configEnv) => {
proxy: { proxy: {
'/api': { '/api': {
// target: 'http://192.168.10.109:8090/', // 显雨 // target: 'http://192.168.10.109:8090/', // 显雨
target: 'http://192.168.10.5:4500', // 高玉 // target: 'http://192.168.10.5:4500', // 高玉
// target: 'http://192.168.10.67:8090', // 罗战 // target: 'http://192.168.10.67:8090', // 罗战
// target: 'http://192.168.10.93:8090', // 周渺 // target: 'http://192.168.10.93:8090', // 周渺
// target: 'https://k8s-horse-gateway.mashibing.cn/', // 测试地址 target: 'https://k8s-horse-gateway.mashibing.cn/', // 测试地址
// target: 'https://you-gateway.mashibing.com', // 生产环境 // target: 'https://you-gateway.mashibing.com', // 生产环境
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),

Loading…
Cancel
Save