Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
亂鬥部分(合併 #576 ):
arenaInfo
將參賽者列表以分頁呈現,並重寫資料撈取方式,避免報名人數過多時造成客戶端與 server 的效能問題
dbArena
的winnerList
,將名次資訊移至各個參賽者的
rank
欄位totalInvestedAmount
欄位記錄總投資額,以此取代先前在 client 端的即時運算
client/arenaInfo/arenaInfo.html
各 template 整理拆分為對應檔案路由部分:
DocHead
設定頁面標題的動作移至 layout 進行避免因資料不齊全而造成轉址動作無法處理或頁面顯示失敗
/ruleDiscuss/list
簡化為/ruleDiscuss/
,以移除多餘的轉址動作