fix: bug
This commit is contained in:
@@ -69,7 +69,7 @@ export default function usePointsAndBadge() {
|
||||
* @param {string|null} taskId - 任务ID
|
||||
* @param {Function} complete - 完成回调(status, message, data)
|
||||
*/
|
||||
const pointAndBadgesRun = async (type, taskId = null, complete = () => {}) => {
|
||||
const pointAndBadgesRun = async (type, taskId = '', complete = () => {}) => {
|
||||
|
||||
try {
|
||||
console.log('调用积分接口');
|
||||
|
||||
Reference in New Issue
Block a user