Commit 306ad32e authored by Facius's avatar Facius

备件选择提示

parent 01287558
......@@ -102,11 +102,7 @@ export default {
pageSize: 20,
pageNumber: 1,
type: '1',
loadText: {
loadmore: '上拉加载更多',
loading: '努力加载中',
nomore: '未找到备件'
}
};
},
computed: {
......@@ -122,6 +118,13 @@ export default {
// 总数
num() {
return this.submitList.reduce((counter, { disabled, quantity }) => !disabled ? counter += quantity : counter, 0)
},
loadText() {
return {
loadmore: '上拉加载更多',
loading: '努力加载中',
nomore: this.pageNumber > 1 ? '没有更多了' : '未找到备件'
}
}
},
onLoad(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment