NEZ-1631 fix:列表页面 默认排序字段 初始化状态修复

This commit is contained in:
zhangyu
2022-03-04 13:59:25 +08:00
parent 5e8964932f
commit be959ad26b
37 changed files with 54 additions and 13 deletions

View File

@@ -105,9 +105,9 @@ export default {
if (this.needAlertDaysData) {
response.data.list.forEach(item => {
item.trendLoading = true
item.left= 0
item.top= 0
item.alertNumtooltipShow= false
item.left = 0
item.top = 0
item.alertNumtooltipShow = false
item.alertDaysData = [
{
metric: { priority: 'P1' },
@@ -337,6 +337,10 @@ export default {
},
created () {
const path = this.$route.fullPath.match(/\/(\S*)\?/)[1]
if (this.$route.query.orderBy) {
this.orderBy = this.$route.query.orderBy
console.log('asdasdadsadsa')
}
let searchKeys = {}
if (path === 'dc') {
searchKeys = {