|
@@ -389,7 +389,7 @@ export default {
|
|
|
let list = this.$util.copyObject(res.list)
|
|
let list = this.$util.copyObject(res.list)
|
|
|
that.getItemList = list
|
|
that.getItemList = list
|
|
|
})
|
|
})
|
|
|
- if(that.$util.isEmpty(that.getItemList)){
|
|
|
|
|
|
|
+ if(!that.$util.isEmpty(that.getItemList)){
|
|
|
that.$refs.showItemRef.setCurrentRow(that.getItemList[0])
|
|
that.$refs.showItemRef.setCurrentRow(that.getItemList[0])
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|