refactor: 模块名称不能带'\'
This commit is contained in:
parent
d03976d8e1
commit
6a79dcba08
|
@ -194,6 +194,10 @@ export default {
|
|||
this.$warning(this.$t('test_track.length_less_than') + this.nameLimit);
|
||||
return;
|
||||
}
|
||||
if (data.name.indexOf("\\") > -1) {
|
||||
this.$warning(this.$t('commons.node_name_tip'));
|
||||
return;
|
||||
}
|
||||
let param = {};
|
||||
this.buildSaveParam(param, node.parent.data, data);
|
||||
if (param.type === 'edit') {
|
||||
|
|
|
@ -144,6 +144,7 @@ export default {
|
|||
check_project_tip: "Create or select the project first",
|
||||
auth_redirect_tip: 'Jump to the authentication source page for authentication',
|
||||
tag_tip: "Enter Enter to Add Label",
|
||||
node_name_tip: "The name cannot contain'\\'",
|
||||
table: {
|
||||
select_tip: "Item {0} data is selected"
|
||||
},
|
||||
|
|
|
@ -145,6 +145,7 @@ export default {
|
|||
check_project_tip: "请先创建或选择项目",
|
||||
auth_redirect_tip: '即将跳转到认证源页面进行认证',
|
||||
tag_tip: "输入回车添加标签",
|
||||
node_name_tip: "名称不能包含'\\'",
|
||||
table: {
|
||||
select_tip: "已选中 {0} 条数据"
|
||||
},
|
||||
|
|
|
@ -145,6 +145,7 @@ export default {
|
|||
check_project_tip: "請先創建或選擇項目",
|
||||
auth_redirect_tip: '即將跳轉到認證源頁面進行認證',
|
||||
tag_tip: "輸入回車添加標簽",
|
||||
node_name_tip: "名稱不能包含'\\'",
|
||||
table: {
|
||||
select_tip: "已选中 {0} 条数据"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue