|
@@ -79,11 +79,11 @@ export default {
|
|
|
})
|
|
|
if (code === 200) {
|
|
|
const type = this.iswap();
|
|
|
- // const { text } = data.find((item) => item.label === type);
|
|
|
- // if (!location.href.includes(text)) {
|
|
|
- // location.href = text;
|
|
|
- // return
|
|
|
- // }
|
|
|
+ const { text } = data.find((item) => item.label === type);
|
|
|
+ if (!location.href.includes(text)) {
|
|
|
+ location.href = text;
|
|
|
+ return
|
|
|
+ }
|
|
|
this.handleVideoList()
|
|
|
}
|
|
|
},
|