添加注释
This commit is contained in:
parent
00a2c4597a
commit
548a3ed2f0
@ -39,8 +39,8 @@ type PropsType = {
|
||||
xixi: any;
|
||||
projIntroduction: string;
|
||||
isFast: boolean;
|
||||
setisFast:any;
|
||||
setIsProjModArrayLoading:any;
|
||||
setisFast: any;
|
||||
setIsProjModArrayLoading: any;
|
||||
}
|
||||
|
||||
type ProjModType = {
|
||||
@ -83,7 +83,7 @@ export default function AiHelperMod(props: PropsType) {
|
||||
onSuccess({ data }) {
|
||||
// console.log('其他页面状态判断', data);
|
||||
// setStatus(data.generate.generateStatus)
|
||||
if(data.aiSetting.modsStatus=='GENERATING'){
|
||||
if (data.aiSetting.modsStatus == 'GENERATING') {
|
||||
// console.log('嘻嘻');
|
||||
props.setIsProjModArrayLoading()
|
||||
|
||||
@ -511,7 +511,18 @@ export default function AiHelperMod(props: PropsType) {
|
||||
|
||||
</div>
|
||||
<div className="aiMod-center">
|
||||
<div style={{
|
||||
height: 42, background: " #EFEFEF",
|
||||
display: 'flex', justifyContent: 'center', alignItems: 'center',
|
||||
}}>
|
||||
<div style={{
|
||||
color: 'red',
|
||||
fontSize: 14,
|
||||
|
||||
}}>
|
||||
*功能列表数量为10~15个,如数量不满足请继续用AI生成
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="aiMod-bot">
|
||||
<div className='aiMod-bot-table'>
|
||||
@ -542,9 +553,9 @@ export default function AiHelperMod(props: PropsType) {
|
||||
disabled={status == 'SUCCESS' || status == 'GENERATING' || props.isFast ? true : false}
|
||||
onClick={() => {
|
||||
props.setisFast()
|
||||
if(props.projIntroduction){
|
||||
if (props.projIntroduction) {
|
||||
props.handleGenerate()
|
||||
}else{
|
||||
} else {
|
||||
props.xixi()
|
||||
}
|
||||
// props.handleGenerate()
|
||||
|
Loading…
Reference in New Issue
Block a user