添加gitlink logo

This commit is contained in:
谢思 2024-05-15 15:25:25 +08:00
parent 802ac6ff4d
commit fbf0dc6c35
2 changed files with 4 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,10 +1,7 @@
import React, { Fragment, useEffect, useState} from "react";
import { Button, Modal, Icon, message, Select, Input, Form, Radio, Table, Divider, Badge, Spin, Checkbox } from "antd";
import { Link } from "react-router-dom";
import gitHub from '../../img/github2.png';
import gitHub1 from '../../img/github1.png';
import gitee from '../../img/gitee2.png';
import gitee1 from '../../img/gitee1.png';
import gitlinkLogo from '../../img/gitlink.jpg';
import logo from '../../img/logo3.png';
import '../index.scss';
import axios from "axios";
@ -125,7 +122,9 @@ function StoreList(props){
{ title: '第三方平台分支', dataIndex: "external_branch_name", className:"recordColumns taskName", width: '300px', render: (text, item) => <span>
{platformLogoUnText(item.type, "21px")}{text}
</span> },
{ title: 'GitLink分支', dataIndex: 'gitlink_branch_name', width: '300px', className:"recordColumns"},
{ title: 'GitLink分支', dataIndex: 'gitlink_branch_name', width: '300px', className:"recordColumns", render: (text, item) => <span>
<img src={gitlinkLogo} alt="" style={{width: "20px"}} className="storeLogo mr5"/>{text}
</span>},
{ title: '最后一次同步时间', dataIndex: 'sync_time', className:"recordColumns"},
{ title: '最后一次同步状态', dataIndex: 'sync_status', className:"recordColumns", render: (text)=>sync_status(text)},
{ title: '操作', dataIndex: 'enable', align: 'center', className:"primaryColor recordColumns", render: (text, item)=>{