1/*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16Device info:MatePad Pro
17Build info:OpenHarmony 3.2.6.1
18Module name:com.example.jsinject
19Version:1.0.0
20Pid:3608
21Uid:20010048
22Lifetime: 0.000000s
23Js-Engine: ark
24page: pages/index/index.js
25Error message: temp is not defined
26SourceCode:
27    this.printContent = "注入JS Crash异常";
28^
29Stacktrace:
30    at judgeDeviceType (/ets/vm/notificationManagenmentViewModel.ts:67:9)
31    at ViewModelInit (/ets/vm/notificationManag3enmentrViewModel.ts:32:5)
32    at aboutToAppear00 (/ets/pages/notifica4tionManagenment.ets:191:5)
33    at aboutToAppear2 (/ets/pages/notificationManagenment3.ets:191:5)
34    at aboutToAppear3 (/ets/pages/not6ificationManagenment2.ets:1222:15)
35    at aboutToAppearlast (/ets/pag4es/notifi5cationManagenment2.ets:2343:000)