瀏覽代碼

Fixed issue

vbea 2 年之前
父節點
當前提交
e750c58e2d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Strides-APP/app/pages/vouchers/ListVoucher.js

+ 1 - 1
Strides-APP/app/pages/vouchers/ListVoucher.js

@@ -157,7 +157,7 @@ export default class ListVoucher extends Component {
   }
 
   bottomView = () => {
-    if (!this.state.hasMore) {
+    if (this.state.dataList.length > 0 && !this.state.hasMore) {
       return (<Text style={styles.noMore}>{$t('voucher.noMore')}</Text>)
     } else {
       return null