|
@@ -72,7 +72,7 @@ var vm = new Vue({
|
|
|
this.tabsList.lists = []
|
|
|
this.tabsData(this.isTabs)
|
|
|
},
|
|
|
- readed(ids, type) {
|
|
|
+ readed(ids, type, url) {
|
|
|
const _this = this
|
|
|
$.ajax({
|
|
|
type:'GET',
|
|
@@ -85,25 +85,23 @@ var vm = new Vue({
|
|
|
_this.tabsData(_this.isTabs)
|
|
|
_this.tabsCount()
|
|
|
message.checkOpened()
|
|
|
+ if (url) {
|
|
|
+ location.href = url
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
linked(id, url, str, num, type) {
|
|
|
if (num == 1) {
|
|
|
if (url) {
|
|
|
- this.readed(id, type)
|
|
|
+ this.readed(id, type, url)
|
|
|
}
|
|
|
}
|
|
|
if (num == 2) {
|
|
|
if (!str) {
|
|
|
- this.readed(id, type)
|
|
|
+ this.readed(id, type, url)
|
|
|
}
|
|
|
}
|
|
|
- setTimeout(() => {
|
|
|
- if (url) {
|
|
|
- location.href = url
|
|
|
- }
|
|
|
- }, 300)
|
|
|
}
|
|
|
}
|
|
|
})
|