调用jquery的change方法 await 失效
async function aa(){
await $('#islmk').change();
console.log("11111");
}
$('#islmk').change(async function(){
let r = await Promise 接口
console.log("r",r);
})
async function aa(){
await $('#islmk').change();
console.log("11111");
}
$('#islmk').change(async function(){
let r = await Promise 接口
console.log("r",r);
})
这个$('#islmk').change()
返回的不是Promise,不能使用await接收其值