adata-ui 0.2.9 → 0.3.0
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/dist/adata-ui.common.js +20 -9
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.umd.js +20 -9
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/Header.vue +8 -0
package/package.json
CHANGED
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
class="menu__wrapper menu__items"
|
|
35
35
|
:class="{ active: item.key === activeTabKey }"
|
|
36
36
|
:href="item[mode]"
|
|
37
|
+
@click="goToAnotherModule(item[mode])"
|
|
38
|
+
onclick="return false;"
|
|
37
39
|
>
|
|
38
40
|
{{ item.name }}
|
|
39
41
|
</a>
|
|
@@ -589,6 +591,12 @@ export default {
|
|
|
589
591
|
this.notificationShow()
|
|
590
592
|
},
|
|
591
593
|
methods: {
|
|
594
|
+
goToAnotherModule(url) {
|
|
595
|
+
if(!location.href.includes(url)) {
|
|
596
|
+
this.$emit("changeModule");
|
|
597
|
+
}
|
|
598
|
+
window.open(url, "_self");
|
|
599
|
+
},
|
|
592
600
|
goAuth() {
|
|
593
601
|
const fullPath = encodeURIComponent(window.location.toString());
|
|
594
602
|
if (window) {
|