This commit is contained in:
caishi 2021-01-25 15:22:45 +08:00
parent 2278d03c47
commit b71980f6dc
4 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@ function Editors({value,onChange,theme,height,visible}){
return(
<Editor
height={height}
language={"yml"}
language={"yaml"}
theme={theme}
placeholder="请输入内容"
value={value}

View File

@ -33,7 +33,7 @@ function StageItem({item, templates,saveItems,k, slideItems , deleteStep}){
</FlexAJ>
<div className={(!item.hide || item.hide === false) ? "stepsBody active" : "stepsBody"}>
<Choosen chooseFunc={chooseFunc} category={item.category} templateId={item.template_id} temp={templates}/>
<Editors value={item.content} onChange={onChangevalue} theme="vs-dark" height="180px" />
<Editors value={item.content} onChange={onChangevalue} theme="vs-dark" height="270px" />
</div>
</div>
)

View File

@ -295,6 +295,7 @@ function Structure(props,ref){
<div className="listPart">
<FlexAJ>
{renderStatus()}
<a onClick={()=>Init(status)} className="color-red font-16">刷新</a>
</FlexAJ>
<Table
onRow={(record,index)=>{

View File

@ -177,7 +177,7 @@ function CIdispose(props){
<div className="disposeItem">
<AlignCenter>
<span>CI服务器地址</span>
{CIData && step >= 1 && <span className="ml10">{CIData.ip}</span>}
{CIData && CIData.ip && step >= 1 ? <span className="ml10">{CIData.ip}</span> :""}
{ step === 0 && <span className="ml10 authTag red">未绑定</span> }
{ step === 1 && !ci_certification && <span className="ml10 authTag red">未认证</span> }
{ ci_certification && <span className="ml10 authTag green">已认证</span> }