fix: 修改全局颜色配置的问题

This commit is contained in:
MTrun
2022-03-12 15:25:26 +08:00
parent 4d54a3029b
commit ddc005ec10
6 changed files with 44 additions and 8 deletions
+2 -2
View File
@@ -64,9 +64,9 @@ const btnList = reactive<ItemType[]>([
// store 描述的是展示的值,所以和 ContentConfigurations 的 collapsed 是相反的
const styleHandle = (item: ItemType) => {
if (item.key === ChartLayoutStoreEnum.DETAILS) {
return item.select ? '' : 'success'
return item.select ? '' : 'primary'
}
return item.select ? 'success' : ''
return item.select ? 'primary' : ''
}
const clickHandle = (item: ItemType) => {
+1 -1
View File
@@ -39,7 +39,7 @@ const fetchProhectInfoById = () => {
const { id } = routeParamsRes
if (id.length) {
// todo 从后端获取项目信息并存储
return '编辑项目' + id[0]
return id[0]
}
return ''