Fix the error 'Uncaught TypeError: currentMessageLogs.data.map is not a function' with change the type obj to array when init.
Fix the error 'Uncaught TypeError: currentMessageLogs.data.map is not a function' with change the type obj to array when init.