mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复拼写错误
This commit is contained in:
@@ -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"}') },
|
||||
|
||||
Reference in New Issue
Block a user