InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed. StackTrace: 在 Microsoft.Web.WebView2.Core.CoreWebView2.<ExecuteScriptAsync>d__121.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 __ScriptExecution.__e3eqzbeb.<Exec>d__0.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) COMException: 没有注册类 没有注册类 StackTrace: 在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2.ExecuteScript(String javaScript, ICoreWebView2ExecuteScriptCompletedHandler handler) 在 Microsoft.Web.WebView2.Core.CoreWebView2.<ExecuteScriptAsync>d__121.MoveNext()