mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🐛 修复拼写错误
This commit is contained in:
@@ -97,7 +97,7 @@ class TGClient {
|
|||||||
*/
|
*/
|
||||||
async loadJSBridge(): Promise<void> {
|
async loadJSBridge(): Promise<void> {
|
||||||
const executeJS = `javascript:(function() {
|
const executeJS = `javascript:(function() {
|
||||||
if(window.MiHoYoJSBridge) return;
|
if(window.MiHoYoJSInterface) return;
|
||||||
window.MiHoYoJSInterface = {
|
window.MiHoYoJSInterface = {
|
||||||
postMessage: function(arg) { window.__TAURI__.event.emit('post_mhy_client', arg) },
|
postMessage: function(arg) { window.__TAURI__.event.emit('post_mhy_client', arg) },
|
||||||
closePage: function() { this.postMessage('{"method":"closePage"}') },
|
closePage: function() { this.postMessage('{"method":"closePage"}') },
|
||||||
|
|||||||
Reference in New Issue
Block a user