File tree Expand file tree Collapse file tree 3 files changed +4
-24
lines changed
web/src/view/layout/aside Expand file tree Collapse file tree 3 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 6363 }
6464
6565 watchEffect (() => {
66- if (route .name === ' Iframe ' ) {
66+ if (route .name === ' gvaLayoutIframe ' ) {
6767 active .value = decodeURIComponent (route .query .url )
6868 return
6969 }
110110 window .open (index, ' _blank' )
111111 return
112112 }
113- if (index === ' Iframe ' ) {
113+ if (index === ' gvaLayoutIframe ' ) {
114114 query .url = decodeURIComponent (index)
115115 }
116116 router .push ({ name: index, query, params })
Original file line number Diff line number Diff line change 6565 }
6666 })
6767 watchEffect (() => {
68- if (route .name === ' Iframe ' ) {
68+ if (route .name === ' gvaLayoutIframe ' ) {
6969 active .value = decodeURIComponent (route .query .url )
7070 return
7171 }
9595 })
9696 if (index === route .name ) return
9797 if (index .indexOf (' http://' ) > - 1 || index .indexOf (' https://' ) > - 1 ) {
98- if (index === ' Iframe' ) {
99- query .url = decodeURIComponent (index)
100- router .push ({
101- name: ' Iframe' ,
102- query,
103- params
104- })
105- return
106- } else {
10798 window .open (index, ' _blank' )
10899 return
109- }
110100 } else {
111101 router .push ({ name: index, query, params })
112102 }
Original file line number Diff line number Diff line change 186186 })
187187 if (index === route .name ) return
188188 if (index .indexOf (' http://' ) > - 1 || index .indexOf (' https://' ) > - 1 ) {
189- if (index === ' Iframe' ) {
190- query .url = decodeURIComponent (index)
191- router .push ({
192- name: ' Iframe' ,
193- query,
194- params
195- })
196- return
197- } else {
198189 window .open (index, ' _blank' )
199190 return
200- }
201191 } else {
202192 router .push ({ name: index, query, params })
203193 }
210200
211201
212202 watchEffect (() => {
213- if (route .name === ' Iframe ' ) {
203+ if (route .name === ' gvaLayoutIframe ' ) {
214204 active .value = decodeURIComponent (route .query .url )
215205 return
216206 }
You can’t perform that action at this time.
0 commit comments