diff --git a/src/components/Device/DeviceAdbShellDialog.vue b/src/components/Device/DeviceAdbShellDialog.vue index d33564a0..e4c852f4 100644 --- a/src/components/Device/DeviceAdbShellDialog.vue +++ b/src/components/Device/DeviceAdbShellDialog.vue @@ -31,7 +31,7 @@ watch(() => visible.value, async (v) => { term.loadAddon(fitAddon); term.open(terminal.value as HTMLElement) term.clear() - term.writeln(t('进入设备 {name} 的命令行', {name: device.value?.name})) + term.writeln(t('进入设备 {id} 的命令行', {id: device.value?.id})) term.writeln('==========================================') nextTick(() => { fitAddon.fit() @@ -83,7 +83,7 @@ defineExpose({ :footer="false" title-align="start">
diff --git a/src/components/Device/DeviceSettingDialog.vue b/src/components/Device/DeviceSettingDialog.vue index 20d2227b..0e9ac9f4 100644 --- a/src/components/Device/DeviceSettingDialog.vue +++ b/src/components/Device/DeviceSettingDialog.vue @@ -67,7 +67,7 @@ defineExpose({ title-align="start">