fix: avoid panic when ActionOptions is nil

This commit is contained in:
lilong.129
2023-05-30 14:48:04 +08:00
parent da9fde63bf
commit a36c4b7a9a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -447,6 +447,7 @@ var popups = [][]string{
{".*青少年.*", "我知道了"}, // 青少年弹窗
{".*个人信息保护.*", "同意"},
{".*更新.*", "以后再说"},
{".*定位.*", ".*允许.*"},
}
func (dExt *DriverExt) autoPopupHandler(ocrResult *OcrResult) error {