@state() forceUpdate: boolean = false; render() { if (this.forceUpdate) { return nothing; } } /** 強制刷新 by mowei */ async forceRequestUpdate() { this.forceUpdate = true; this.requestUpdate(); await this.updateComplete; this.forceUpdate = false; }