mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改全局颜色配置的问题
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -39,7 +39,7 @@ const fetchProhectInfoById = () => {
|
||||
const { id } = routeParamsRes
|
||||
if (id.length) {
|
||||
// todo 从后端获取项目信息并存储
|
||||
return '编辑项目' + id[0]
|
||||
return id[0]
|
||||
}
|
||||
return ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user