@saooti/octopus-sdk 33.2.3 → 33.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
<a
|
|
25
25
|
class="octopus-dropdown-item"
|
|
26
26
|
href="/sso/login"
|
|
27
|
+
realLink="true"
|
|
27
28
|
>
|
|
28
29
|
{{ $t('Login') }}
|
|
29
30
|
</a>
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
class="octopus-dropdown-item"
|
|
60
61
|
rel="noopener"
|
|
61
62
|
target="_blank"
|
|
63
|
+
realLink="true"
|
|
62
64
|
>
|
|
63
65
|
{{ helpLink.title }}
|
|
64
66
|
</a>
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
<a
|
|
69
71
|
class="octopus-dropdown-item"
|
|
70
72
|
href="/sso/logout"
|
|
73
|
+
realLink="true"
|
|
71
74
|
>
|
|
72
75
|
{{ $t('Logout') }}
|
|
73
76
|
</a>
|
|
@@ -107,10 +107,11 @@ export default defineComponent({
|
|
|
107
107
|
if (null!==parent && parent.contains(myElement)) {
|
|
108
108
|
if(null!==myElement.classList && myElement.classList.contains('octopus-dropdown-item')){
|
|
109
109
|
if((myElement as HTMLAnchorElement).href ?? false){
|
|
110
|
-
if(
|
|
111
|
-
|
|
110
|
+
if("true"===myElement.getAttribute('reallink')){
|
|
111
|
+
await myElement.click();
|
|
112
|
+
}else{
|
|
113
|
+
await this.$router.push((myElement as any).pathname);
|
|
112
114
|
}
|
|
113
|
-
await this.$router.push((myElement as any).pathname);
|
|
114
115
|
}
|
|
115
116
|
this.$nextTick(() => {
|
|
116
117
|
this.isClick = false;
|