Skip to content

Commit

Permalink
bugfix: 体验问题修复 TencentBlueKing#1461
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx committed Nov 28, 2022
1 parent 98d66a5 commit 4dcbe01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/components/ace-editor/default-script.js
Expand Up @@ -88,8 +88,8 @@ export default {
'',
'',
'',
// 'REM 函数定定义区域,不要把正文写到函数区下面 ',
lang === 'zh-CN' ? 'REM 函数定定义区域,不要把正文写到函数区下面 ' : 'REM Function definition area, do not write the text below the function area',
// 'REM 函数自定义区域,不要把正文写到函数区下面 ',
lang === 'zh-CN' ? 'REM 函数自定义区域,不要把正文写到函数区下面 ' : 'REM Function definition area, do not write the text below the function area',
'goto:eof',
lang === 'zh-CN' ? 'REM 可在脚本开始运行时调用,打印当时的时间戳及PID。' : 'REM It\'s usually called when the script starts to run, prints the timestamp and PID.',
':job_start',
Expand Down
Expand Up @@ -161,7 +161,7 @@
// 移除单个IP
const handleRemove = (removeTarget) => {
const result = props.data.reduce((result, item) => {
if (removeTarget !== item) {
if (removeTarget.host_id !== item.host_id) {
result.push(item);
}
return result;
Expand Down

0 comments on commit 4dcbe01

Please sign in to comment.