Browse Source

Merge branch 'dev' of https://github.com/jdf2e/nutui into dev

Franslee 7 years ago
parent
commit
e0f1fcea93
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/package/choose/src/choose.vue

+ 1 - 0
src/package/choose/src/choose.vue

@@ -115,6 +115,7 @@ export default {
         'listData'(val,oldVal){
             if(val){
                 this.list = val;
+                 this.$refs.areaTabCon.scrollTop = 0;
                 if(this.tabIndex < this.tempDatas.length){
                    this.tempDatas =  this.tempDatas.slice(0,this.tabIndex);
                 }