🐛 修复拼写错误

This commit is contained in:
BTMuli
2023-12-15 15:06:05 +08:00
parent 01ea7fa4db
commit 058ad8cd8e

View File

@@ -97,7 +97,7 @@ class TGClient {
*/
async loadJSBridge(): Promise<void> {
const executeJS = `javascript:(function() {
if(window.MiHoYoJSBridge) return;
if(window.MiHoYoJSInterface) return;
window.MiHoYoJSInterface = {
postMessage: function(arg) { window.__TAURI__.event.emit('post_mhy_client', arg) },
closePage: function() { this.postMessage('{"method":"closePage"}') },