|
@@ -40,17 +40,17 @@ export default {
|
|
|
init(callBack, params) {
|
|
|
if (params) this.tabsActive = params.active;
|
|
|
this.$refs[this.tabsActive].getList(true).then(res => {
|
|
|
- callBack()
|
|
|
- this.updatePage = false;
|
|
|
- })
|
|
|
- /* if (!this.$refs[this.tabsActive].isInitialize) {
|
|
|
- this.$refs[this.tabsActive].getList(true).then(res => {
|
|
|
- callBack()
|
|
|
- this.updatePage = false;
|
|
|
- })
|
|
|
- } else {
|
|
|
callBack()
|
|
|
- } */
|
|
|
+ this.updatePage = false;
|
|
|
+ })
|
|
|
+ /* if (!this.$refs[this.tabsActive].isInitialize) {
|
|
|
+ this.$refs[this.tabsActive].getList(true).then(res => {
|
|
|
+ callBack()
|
|
|
+ this.updatePage = false;
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ callBack()
|
|
|
+ } */
|
|
|
},
|
|
|
tabsChange(tabsActive) {
|
|
|
this.tabsActive = tabsActive;
|