2025年8月27日 星期三

Lit 元件強制刷新 Lit Web Component forced refresh

    @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;
    }

預測2031/1/1可能 TWCA 憑證 IOS會出現不信任

緣由: TWCA CYBER Root CA 有兩張、兩個效期 (2030、2047年到期) 推測TWCA 預計 2030年12月會停用: TWCA CYBER Root CA (2030 年到期) TWCA Global Root CA 改用啟用: TWCA CYBER ...