We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca24945 commit a1c8f6bCopy full SHA for a1c8f6b
web/src/view/layout/aside/headMode.vue
@@ -107,21 +107,13 @@
107
})
108
if (index === route.name) return
109
if (index.indexOf('http://') > -1 || index.indexOf('https://') > -1) {
110
- if (index === 'Iframe') {
111
- query.url = decodeURIComponent(index)
112
- router.push({
113
- name: 'Iframe',
114
- query,
115
- params
116
- })
117
- return
118
- } else {
119
window.open(index, '_blank')
120
return
121
- }
122
123
- router.push({ name: index, query, params })
124
}
+ if (index === 'Iframe') {
+ query.url = decodeURIComponent(index)
+ }
+ router.push({ name: index, query, params })
125
126
</script>
127
0 commit comments