私信  •  关注

mohsen gharivand

mohsen gharivand 最近创建的主题
mohsen gharivand 最近回复了

调用函数时,只需在函数前添加await:

var ret = await  getVal();
console.log(ret);