ticket.39741: Refactor toolkit onLoadData

請參考說明 
https://issue.kkcorp/trac/ticket/39741#comment:21