Manipulate DOM in Electron

后端 未结 2 2009
梦毁少年i
梦毁少年i 2021-02-11 07:32

What is the best way to manipulate DOM within an electron app?

I made some tutorials from docs using ipc and webcontents with no luck

My app is so simple, I just

2条回答
  •  执念已碎
    2021-02-11 08:08

    "result" is a reference type value. "result" always chenge value when result = funcC() or another; Try this:

    $('#msg').text(result.ToString());
    

提交回复
热议问题