fix: 执行lint
This commit is contained in:
@@ -58,8 +58,8 @@ const panel = {
|
||||
httpCancel: null, // 终止http请求
|
||||
rangeEchartsData: {}, // 框选echarts图表
|
||||
routerHistoryList: [], // 路由跳转记录列表
|
||||
dnsQtypeMapData:[],
|
||||
dnsRcodeMapData:[]
|
||||
dnsQtypeMapData: [],
|
||||
dnsRcodeMapData: []
|
||||
},
|
||||
mutations: {
|
||||
setShowRightBox (state, flag) {
|
||||
|
||||
@@ -64,9 +64,9 @@ const user = {
|
||||
if (tempArr[1]) {
|
||||
tempArr = tempArr[1].split('&')
|
||||
tempArr.forEach(t => {
|
||||
let firstEqualIndex = t.indexOf('=')
|
||||
let key = t.substring(0, firstEqualIndex)
|
||||
let value = t.substring(firstEqualIndex + 1)
|
||||
const firstEqualIndex = t.indexOf('=')
|
||||
const key = t.substring(0, firstEqualIndex)
|
||||
const value = t.substring(firstEqualIndex + 1)
|
||||
query[key] = value
|
||||
})
|
||||
}
|
||||
@@ -97,9 +97,9 @@ const user = {
|
||||
version: defaultConfigs.version,
|
||||
config: defaultConfigs.config
|
||||
})
|
||||
let userId = localStorage.getItem(storageKey.userId)
|
||||
let oldVersion = await getConfigVersion(userId)
|
||||
if(oldVersion !== defaultConfigs.version ){
|
||||
const userId = localStorage.getItem(storageKey.userId)
|
||||
const oldVersion = await getConfigVersion(userId)
|
||||
if (oldVersion !== defaultConfigs.version) {
|
||||
db[dbDrilldownTableConfig].delete(userId)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user