Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick={() => {
const { close } = Loading('手动关闭')
setTimeout(() => {
close()
}, 2000)
}}
>
onClick={() => {
const { close } = Loading('加载中...')
setTimeout(() => {
close()
}, 1000)
}}
>