默认选中第一个分类

This commit is contained in:
谢思 2026-01-22 09:32:37 +08:00
parent 4dbaa7b858
commit 0508aae834
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ function ProjectHomePage(props) {
if (result && result.data) {
const { project_categories = [] } = result.data;
setCateList(project_categories);
// project_categories[0] && setCateID(project_categories[0].id);
project_categories[0] && setCateID(project_categories[0].id);
}
}).catch(error => { })
}

View File

@ -74,7 +74,7 @@
.feedBackBox {
width:374px;
padding: 17px 30px;
padding: 13px 30px;
background-image: linear-gradient(145.03deg, #f2e8e9 0%, #f2e8e9 19.38%, #a7b0ff 76.71%, #b3a7ff 100%);
border-radius: 15px;
position: relative;