|
@@ -365,6 +365,15 @@ export default {
|
|
|
async getData() {
|
|
|
let url = `${process.env.VUE_APP_G_PREFIX}/data/${this.$route.query.id}/hot/js/data.js?time=${Math.random()}`
|
|
|
let result = (await this.$http.get(url)).data
|
|
|
+
|
|
|
+ // console.log(result)
|
|
|
+ // for (const key in result) {
|
|
|
+ // if (Object.hasOwnProperty.call(result, key)) {
|
|
|
+ // const element = result[key]
|
|
|
+ // console.log(element.sid, element.title)
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+
|
|
|
deepProcess(result, this.changeSubStr)
|
|
|
|
|
|
this.hotspotData = result[this.$route.query.m]
|