mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
优化房屋页面楼栋显示不下问题
This commit is contained in:
parent
f67093d1ba
commit
c59874a7c2
@ -113,6 +113,7 @@ export default {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.tree-div {
|
.tree-div {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
.custom-tree-node {
|
.custom-tree-node {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@ -3,34 +3,34 @@ module.exports = {
|
|||||||
port: 3000, // 设置开发服务器端口
|
port: 3000, // 设置开发服务器端口
|
||||||
open: true, // 自动打开浏览器
|
open: true, // 自动打开浏览器
|
||||||
proxy: {
|
proxy: {
|
||||||
'/app': {
|
|
||||||
target: 'https://demo.homecommunity.cn/app', // 后端API地址
|
|
||||||
changeOrigin: true,
|
|
||||||
pathRewrite: {
|
|
||||||
'^/app': ''
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'/callComponent': {
|
|
||||||
target: 'https://demo.homecommunity.cn/callComponent', // 后端API地址
|
|
||||||
changeOrigin: true,
|
|
||||||
pathRewrite: {
|
|
||||||
'^/callComponent': ''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// '/app': {
|
// '/app': {
|
||||||
// target: 'http://localhost:8008/app', // 后端API地址
|
// target: 'https://demo.homecommunity.cn/app', // 后端API地址
|
||||||
// changeOrigin: true,
|
// changeOrigin: true,
|
||||||
// pathRewrite: {
|
// pathRewrite: {
|
||||||
// '^/app': ''
|
// '^/app': ''
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
// '/callComponent': {
|
// '/callComponent': {
|
||||||
// target: 'http://localhost:8008/callComponent', // 后端API地址
|
// target: 'https://demo.homecommunity.cn/callComponent', // 后端API地址
|
||||||
// changeOrigin: true,
|
// changeOrigin: true,
|
||||||
// pathRewrite: {
|
// pathRewrite: {
|
||||||
// '^/callComponent': ''
|
// '^/callComponent': ''
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
'/app': {
|
||||||
|
target: 'http://localhost:8008/app', // 后端API地址
|
||||||
|
changeOrigin: true,
|
||||||
|
pathRewrite: {
|
||||||
|
'^/app': ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'/callComponent': {
|
||||||
|
target: 'http://localhost:8008/callComponent', // 后端API地址
|
||||||
|
changeOrigin: true,
|
||||||
|
pathRewrite: {
|
||||||
|
'^/callComponent': ''
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 关键:禁止开发服务器对静态资源添加 hash
|
// 关键:禁止开发服务器对静态资源添加 hash
|
||||||
historyApiFallback: {
|
historyApiFallback: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user