Commit 3877dbac authored by manzhenhua's avatar manzhenhua

xiu

parent eb698edb
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
## 子模块的添加 ## 子模块的添加
* 本厂库作为主项目的submodule使用,在使用时,在项目中规范使用submodule目录作为该子模块的根目录 * 本厂库作为主项目的submodule使用,在使用时,在项目中规范使用submodule目录作为该子模块的根目录
* 切换至项目根目录 * 切换至项目根目录
* git submodule add <submoduleURL> <submodulePATH> 我们约定 'git submodule add http://apollo.mttop.cn/gitlab/web_component/submodule.git src/submodule' * git submodule add <submoduleURL> <submodulePATH> 我们约定 'git submodule add http://apollo.mttopgroup.cn/gitlab/web_component/submodule.git src/submodule'
* 执行成功后 git status会看到项目中修改了.gitmodules,并增加了一个新文件(为刚刚添加的路径)即src下多了一个submodule的文件 * 执行成功后 git status会看到项目中修改了.gitmodules,并增加了一个新文件(为刚刚添加的路径)即src下多了一个submodule的文件
* git diff --cached查看修改内容可以看到增加了子模块,并且新文件下为子模块的提交hash摘要 * git diff --cached查看修改内容可以看到增加了子模块,并且新文件下为子模块的提交hash摘要
* git commit提交即完成子模块的添加 * git commit提交即完成子模块的添加
......
...@@ -21,7 +21,7 @@ class BIDatePicker extends React.PureComponent { ...@@ -21,7 +21,7 @@ class BIDatePicker extends React.PureComponent {
{...this.props} {...this.props}
locale={zhCN} locale={zhCN}
suffixIcon={ suffixIcon={
<img className={s.suffixIconSingle} alt="" src="https://static.mttop.cn/admin/calendar.png" /> <img className={s.suffixIconSingle} alt="" src="https://static.mttopgroup.cn/admin/calendar.png" />
} }
/> />
</span> </span>
...@@ -37,7 +37,7 @@ class BIRangePicker extends React.PureComponent { ...@@ -37,7 +37,7 @@ class BIRangePicker extends React.PureComponent {
{...this.props} {...this.props}
locale={zhCN} locale={zhCN}
suffixIcon={ suffixIcon={
<img className={s.suffixIcon} alt="" src="https://static.mttop.cn/admin/calendar.png" /> <img className={s.suffixIcon} alt="" src="https://static.mttopgroup.cn/admin/calendar.png" />
} }
/> />
</span> </span>
......
import { createFromIconfontCN } from '@ant-design/icons'; import { createFromIconfontCN } from '@ant-design/icons';
const IconFont = createFromIconfontCN({ const IconFont = createFromIconfontCN({
scriptUrl: 'https://static.mttop.cn/iconfont210309.js', scriptUrl: 'https://static.mttopgroup.cn/iconfont210309.js',
}); });
export default IconFont; export default IconFont;
export default { export default {
'buniness': { 'buniness': {
path: 'https://static.mttop.cn/admin/buniness.png', path: 'https://static.mttopgroup.cn/admin/buniness.png',
selectedPath: 'https://static.mttop.cn/admin/buniness_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/buniness_select.png',
name: '业务管理', name: '业务管理',
}, },
'approval': { 'approval': {
path: 'https://static.mttop.cn/admin/approval.png', path: 'https://static.mttopgroup.cn/admin/approval.png',
selectedPath: 'https://static.mttop.cn/admin/approval_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/approval_select.png',
name: '审批管理', name: '审批管理',
}, },
'message': { 'message': {
path: 'https://static.mttop.cn/admin/news.png', path: 'https://static.mttopgroup.cn/admin/news.png',
selectedPath: 'https://static.mttop.cn/admin/message_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/message_select.png',
name: '消息管理', name: '消息管理',
}, },
'software': { 'software': {
path: 'https://static.mttop.cn/admin/software.png', path: 'https://static.mttopgroup.cn/admin/software.png',
selectedPath: 'https://static.mttop.cn/admin/software_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/software_select.png',
name: '应用管理', name: '应用管理',
}, },
'org': { 'org': {
path: 'https://static.mttop.cn/admin/org.png', path: 'https://static.mttopgroup.cn/admin/org.png',
selectedPath: 'https://static.mttop.cn/admin/org_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/org_select.png',
name: '应用管理', name: '应用管理',
}, },
'admin_user': { 'admin_user': {
path: 'https://static.mttop.cn/admin/admin_user.png', path: 'https://static.mttopgroup.cn/admin/admin_user.png',
selectedPath: 'https://static.mttop.cn/admin/admin_user_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/admin_user_select.png',
name: '应用管理', name: '应用管理',
}, },
'shimo': { 'shimo': {
path: 'https://static.mttop.cn/admin/new_shimo_2.png', path: 'https://static.mttopgroup.cn/admin/new_shimo_2.png',
selectedPath: 'https://static.mttop.cn/admin/new_shimo_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/new_shimo_select.png',
name: '应用管理', name: '应用管理',
}, },
'calendar': { 'calendar': {
path: 'https://static.mttop.cn/admin/new_calendar.png', path: 'https://static.mttopgroup.cn/admin/new_calendar.png',
selectedPath: 'https://static.mttop.cn/admin/new_calendar_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/new_calendar_select.png',
name: '应用管理', name: '应用管理',
}, },
'approval': { 'approval': {
path: 'https://static.mttop.cn/admin/approval_icon.png', path: 'https://static.mttopgroup.cn/admin/approval_icon.png',
selectedPath: 'https://static.mttop.cn/admin/arrroval_icon_select.png', selectedPath: 'https://static.mttopgroup.cn/admin/arrroval_icon_select.png',
name: '应用管理', name: '应用管理',
} }
} }
import { createFromIconfontCN } from '@ant-design/icons'; import { createFromIconfontCN } from '@ant-design/icons';
const IconFont = createFromIconfontCN({ const IconFont = createFromIconfontCN({
scriptUrl: 'https://static.mttop.cn/iconfont210309.js', scriptUrl: 'https://static.mttopgroup.cn/iconfont210309.js',
}); });
export default IconFont; export default IconFont;
const CDN_PATH = 'https://static.mttop.cn/admin'; const CDN_PATH = 'https://static.mttopgroup.cn/admin';
export const fileType = { export const fileType = {
image: {}, image: {},
ppt: { ppt: {
......
...@@ -6,7 +6,7 @@ import styles from './styles.less'; ...@@ -6,7 +6,7 @@ import styles from './styles.less';
// import { getOptionName } from '@/utils/utils'; // import { getOptionName } from '@/utils/utils';
// import { SIFT_TYPE } from '@/utils/enum'; // import { SIFT_TYPE } from '@/utils/enum';
/* eslint-disable react/sort-comp */ /* eslint-disable react/sort-comp */
const searchIcon = 'https://static.mttop.cn/admin/sousuo.png'; const searchIcon = 'https://static.mttopgroup.cn/admin/sousuo.png';
interface Props { interface Props {
onSubmit: Function onSubmit: Function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment