优化房屋页面楼栋显示不下问题

This commit is contained in:
wuxw 2026-06-08 11:28:49 +08:00
parent f67093d1ba
commit c59874a7c2
2 changed files with 17 additions and 16 deletions

View File

@ -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;

View File

@ -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: {