ソースを参照

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

Franslee 7 年 前
コミット
e0f1fcea93
1 ファイル変更1 行追加0 行削除
  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);
                 }