bri-components 1.4.30 → 1.4.31
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
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
set (tabKey) {
|
|
87
87
|
// iview的组件有问题,重复点击tab的某一项,set函数还是会触发!
|
|
88
|
-
if (tabKey !== this.
|
|
88
|
+
if (tabKey !== this.curTabKey) {
|
|
89
89
|
this.init(tabKey);
|
|
90
90
|
|
|
91
91
|
this.$emit("input", tabKey);
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
+
|
|
96
97
|
rightTabList () {
|
|
97
98
|
return this.list.filter(item => item.slot === "extra");
|
|
98
99
|
}
|
|
@@ -103,7 +104,6 @@
|
|
|
103
104
|
mounted () {},
|
|
104
105
|
methods: {
|
|
105
106
|
init (tabKey) {
|
|
106
|
-
this.tmpTabKey = tabKey;
|
|
107
107
|
this.$set(this.renderStatusMap, tabKey, true);
|
|
108
108
|
},
|
|
109
109
|
|