Run
Auto Run
define('my-app', class extends WeElement { successShow = false loadingShow = false showSuccess =() => { this.loadingShow = false this.successShow = true this.update() } showLoading =() => { this.successShow = false this.loadingShow = true this.update() } render() { return (
Show Success Toast
Show Loading Toast
支付成功
加载中
) } }) render(
, 'body')