|
@@ -359,11 +359,7 @@ var favorite = new Vue({
|
|
|
if (window.opener && window.opener !== window) {
|
|
|
window.close()
|
|
|
}
|
|
|
- if (goTemplateData.inIframe) {
|
|
|
- window.parent.location.href = '/?from=set_favorite'
|
|
|
- } else {
|
|
|
- location.href = '/?from=set_favorite'
|
|
|
- }
|
|
|
+ window.top.location.href = '/?from=set_favorite'
|
|
|
},
|
|
|
// 变更微信提醒按钮
|
|
|
changeWxSwitch (val, key) {
|