소스 검색

fix: 修改插件管理必填字段

yanglzh 2 년 전
부모
커밋
46671e57c3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/system/monitor/plugin/edit.vue

+ 2 - 2
src/views/system/monitor/plugin/edit.vue

@@ -93,8 +93,8 @@ const ruleForm = {
 	handleType: [ruleRequired('功能类型不能为空')],
 	name: [ruleRequired('名称不能为空')],
 	title: [ruleRequired('标题不能为空')],
-	version: [ruleRequired('版本不能为空')],
-	author: [ruleRequired('作者不能为空')],
+	// version: [ruleRequired('版本不能为空')],
+	// author: [ruleRequired('作者不能为空')],
 	// icon: [ruleRequired('插件图标不能为空')],
 	// command: [ruleRequired('运行指令不能为空')],
 	// args: [ruleRequired('指令参数不能为空')],