This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-23
lines changed
Expand file tree Collapse file tree 7 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ const summitStep = () => {
216216 {{ step.content }}
217217 </span >
218218 <span v-if =" step.stepType === 'sendKeyForce'" >
219- <el-tag size =" small" style =" margin-right : 10px " >键盘输入 </el-tag >
219+ <el-tag size =" small" style =" margin-right : 10px " >输入法输入 </el-tag >
220220 {{ step.content }}
221221 </span >
222222 <span v-if =" step.stepType === 'sendKeysByActions'" >
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ const androidOptions = ref([
382382 },
383383 {
384384 value: ' sendKeyForce' ,
385- label: ' 键盘输入 ' ,
385+ label: ' Sonic输入法输入 ' ,
386386 },
387387 ],
388388 },
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ const androidRemoteTS = {
545545 remoteControlPanel : 'Remote control panel' ,
546546 inputText : 'Enter text' ,
547547 pleaseText : 'Enter the text to send, CHS is supported' ,
548- send : 'Send ' ,
548+ send : 'Clear Text ' ,
549549 remoteADB : 'Remote ADB' ,
550550 noAgent : 'The Agent is not enabled!' ,
551551 UIAutomator2ServerInit : 'Initialize UIAutomator2Server' ,
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ const androidRemoteTS = {
537537 remoteControlPanel : '远控面板' ,
538538 inputText : '输入文本' ,
539539 pleaseText : '请输入要发送的文本,支持简体中文' ,
540- send : '发送 ' ,
540+ send : '清空输入框 ' ,
541541 remoteADB : '远程ADB' ,
542542 noAgent : '所在Agent未开启该功能!' ,
543543 UIAutomator2ServerInit : '初始化UIAutomator2Server' ,
Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ const androidRemoteTS = {
535535 remoteControlPanel : '远控面板' ,
536536 inputText : '输入文本' ,
537537 pleaseText : '请输入要发送的文本,支持简体中文' ,
538- send : '发送 ' ,
538+ send : '清空输入框 ' ,
539539 remoteADB : '远程ADB' ,
540540 noAgent : '所在Agent未开启该功能!' ,
541541 UIAutomator2ServerInit : '初始化UIAutomator2Server' ,
Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ const androidRemoteTS = {
535535 remoteControlPanel : '遠控面板' ,
536536 inputText : '輸入文本' ,
537537 pleaseText : '請輸入要發送的文字,支援繁體中文' ,
538- send : '發送 ' ,
538+ send : '清空输入框 ' ,
539539 remoteADB : '遠端ADB' ,
540540 noAgent : '所在Agent未開啟該功能!' ,
541541 UIAutomator2ServerInit : '初始化UIAutomator2Server' ,
Original file line number Diff line number Diff line change @@ -1633,11 +1633,11 @@ const scan = (url) => {
16331633 })
16341634 );
16351635};
1636- const sendText = (text ) => {
1636+ const sendText = () => {
16371637 websocket .send (
16381638 JSON .stringify ({
16391639 type: ' text' ,
1640- detail: text ,
1640+ detail: ' CODE_AC_CLEAN ' ,
16411641 })
16421642 );
16431643};
@@ -2565,21 +2565,8 @@ onMounted(() => {
25652565 <template #header >
25662566 <strong >{{ $t('androidRemoteTS.code.inputText') }}</strong >
25672567 </template >
2568- <el-form size =" small" :model =" text" >
2569- <el-form-item >
2570- <el-input
2571- v-model =" text.content"
2572- clearable
2573- size =" small"
2574- :placeholder =" $t('androidRemoteTS.code.pleaseText')"
2575- ></el-input >
2576- </el-form-item >
2577- </el-form >
2578- <div style =" text-align : center " >
2579- <el-button
2580- size =" mini"
2581- type =" primary"
2582- @click =" sendText(text.content)"
2568+ <div style =" text-align : center ; margin : 22px 0px " >
2569+ <el-button size =" mini" type =" primary" @click =" sendText"
25832570 >{{ $t('androidRemoteTS.code.send') }}
25842571 </el-button >
25852572 </div >
You can’t perform that action at this time.
0 commit comments