-
-
-
-
- - 合作伙伴
- - 热线:
- - QQ群:1071514693
-
+
+
+
+ {value && showhtml(value)}
+ {/*
+
+
+
+
+ - 合作伙伴
+ - 热线:
+ - QQ群:1071514693
+
+
+
© Copyright 2007~2021 国防科技大学Trustie团队 & IntelliDE 湘ICP备 17009477号
*/}
-
© Copyright 2007~2021 国防科技大学Trustie团队 & IntelliDE 湘ICP备 17009477号
*/}
)
}
diff --git a/src/forge/Newfile/UserSubmitComponent.js b/src/forge/Newfile/UserSubmitComponent.js
index 9883ce8f..6c921c9f 100644
--- a/src/forge/Newfile/UserSubmitComponent.js
+++ b/src/forge/Newfile/UserSubmitComponent.js
@@ -117,7 +117,7 @@ class UserSubmitComponent extends Component {
diff --git a/src/forge/Newfile/m_editor.js b/src/forge/Newfile/m_editor.js
index 4e2e6851..7f773d98 100644
--- a/src/forge/Newfile/m_editor.js
+++ b/src/forge/Newfile/m_editor.js
@@ -51,7 +51,7 @@ class m_editor extends Component {
return (
-
+
{!readOnly && (
-
+
{
const [ image , setImage ] = useState(undefined);
const [ imageFlag , setImageFlag] = useState(false);
const { getFieldDecorator, validateFields , setFieldsValue } = form;
-
const radioStyle = {
display: 'block',
height: '30px',
@@ -60,19 +60,44 @@ export default Form.create()(
})
},[])
+ function checkname(rule, value, callback){
+ if(!value){
+ callback();
+ }
+ if(value && !value.match(/^[a-zA-Z][a-zA-Z0-9_-]{3,19}$/)){
+ callback("只能使用以字母开头,包含字母、数字、下划线、横杠等,长度4到20个字符");
+ }
+ callback();
+ }
+
return(
-