修改 路由返回页面刷新
This commit is contained in:
@@ -174,7 +174,6 @@ const tableStore = new TableStore({
|
||||
|
||||
treeData = tree2List(tableStore.table.data,)
|
||||
tableStore.table.data = JSON.parse(JSON.stringify(treeData))
|
||||
console.log("🚀 ~ tableStore.table.data:", tableStore.table.data)
|
||||
|
||||
setTimeout(() => {
|
||||
tableRef.value.getRef().setAllTreeExpand(true)
|
||||
|
||||
@@ -18,7 +18,7 @@ import { mainHeight } from '@/utils/layout'
|
||||
import Table from './components/table.vue'
|
||||
import Echart from './components/echart.vue'
|
||||
defineOptions({
|
||||
name: 'harmonic-boot/area/OnlineRate'
|
||||
name: 'harmonic-boot/harmonic/getIntegrityData'
|
||||
})
|
||||
const activeName = ref('1')
|
||||
|
||||
|
||||
@@ -195,7 +195,6 @@ const tree2List = (list: any) => {
|
||||
// 遍历 tree 数组
|
||||
list.forEach((item: any) => {
|
||||
item.comFlag = item.comFlag == null ? 3 : item.comFlag
|
||||
console.log('🚀 ~ list.forEach ~ item:', item)
|
||||
|
||||
item.assess = item.onlineRate == 3.14159 ? 0 : item.onlineRate < 60 ? 1 : item.onlineRate < 90 ? 2 : 3
|
||||
// 判断item是否存在children
|
||||
|
||||
Reference in New Issue
Block a user