{
{
-
diff --git a/src/locales/lang/en_US.js b/src/locales/lang/en_US.js
index aa55963c..117c8ff6 100644
--- a/src/locales/lang/en_US.js
+++ b/src/locales/lang/en_US.js
@@ -963,6 +963,7 @@ const usersTS = {
},
};
const IOSRemote = {
+ depth: "Snapshot Max Depth",
driverStatus: {
success: 'Init WebDriverAgent successful!',
fail: 'Init WebDriverAgent failed!',
diff --git a/src/locales/lang/ja_JP.js b/src/locales/lang/ja_JP.js
index 7128c88c..02d6bf30 100644
--- a/src/locales/lang/ja_JP.js
+++ b/src/locales/lang/ja_JP.js
@@ -940,6 +940,7 @@ const usersTS = {
},
};
const IOSRemote = {
+ depth: "最大遍历深度",
driverStatus: {
success: '初始化 WebDriverAgent 完成!',
fail: '初始化 WebDriverAgent 失败!',
diff --git a/src/locales/lang/zh_CN.js b/src/locales/lang/zh_CN.js
index 143bb91c..81027ae8 100644
--- a/src/locales/lang/zh_CN.js
+++ b/src/locales/lang/zh_CN.js
@@ -938,6 +938,7 @@ const usersTS = {
},
};
const IOSRemote = {
+ depth: "最大遍历深度",
driverStatus: {
success: '初始化 WebDriverAgent 完成!',
fail: '初始化 WebDriverAgent 失败!',
diff --git a/src/locales/lang/zh_TW.js b/src/locales/lang/zh_TW.js
index 71417664..2b2c0023 100644
--- a/src/locales/lang/zh_TW.js
+++ b/src/locales/lang/zh_TW.js
@@ -938,6 +938,7 @@ const usersTS = {
},
};
const IOSRemote = {
+ depth: "最大遍历深度",
driverStatus: {
success: '初始化 WebDriverAgent 完成!',
fail: '初始化 WebDriverAgent 失败!',
diff --git a/src/views/RemoteEmulator/IOSRemote.vue b/src/views/RemoteEmulator/IOSRemote.vue
index 42012b81..67fc9952 100644
--- a/src/views/RemoteEmulator/IOSRemote.vue
+++ b/src/views/RemoteEmulator/IOSRemote.vue
@@ -101,6 +101,7 @@ const directionStatus = {
};
let moveX = 0;
let moveY = 0;
+const depth = ref(50);
const isFixTouch = false;
const isPress = false;
let loop = null;
@@ -1181,6 +1182,7 @@ const getElement = () => {
type: 'debug',
detail: 'tree',
needImg: oldBlob == null,
+ depth: depth.value
})
);
};
@@ -2558,15 +2560,24 @@ const checkAlive = () => {
margin-bottom: 15px;
display: flex;
align-items: center;
- justify-content: space-between;
"
>
+ {{ $t('IOSRemote.depth') }}:
+