Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web_component
submodule
Commits
b95cbce3
Commit
b95cbce3
authored
Jul 08, 2023
by
李晓静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
域名更换
parent
eb698edb
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
28 deletions
+28
-28
README.md
README.md
+1
-1
index.js
ant_components/BIDatePicker/index.js
+2
-2
IconFont.js
components/CustomIcon/IconFont.js
+1
-1
config.js
components/CustomIcon/config.js
+18
-18
IconFont.ts
components/IconFont/IconFont.ts
+1
-1
fileType.ts
...nents/apolloTable/component/base/extra/upload/fileType.ts
+1
-1
index.tsx
components/dataView-V2/_components/filterCondition/index.tsx
+4
-4
No files found.
README.md
View file @
b95cbce3
...
...
@@ -10,7 +10,7 @@
## 子模块的添加
*
本厂库作为主项目的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.mttop
group
.cn/gitlab/web_component/submodule.git src/submodule'
*
执行成功后 git status会看到项目中修改了.gitmodules,并增加了一个新文件(为刚刚添加的路径)即src下多了一个submodule的文件
*
git diff --cached查看修改内容可以看到增加了子模块,并且新文件下为子模块的提交hash摘要
*
git commit提交即完成子模块的添加
...
...
ant_components/BIDatePicker/index.js
View file @
b95cbce3
...
...
@@ -21,7 +21,7 @@ class BIDatePicker extends React.PureComponent {
{...
this
.
props
}
locale
=
{
zhCN
}
suffixIcon
=
{
<
img
className
=
{
s
.
suffixIconSingle
}
alt
=
""
src
=
"https://static.mttop.cn/admin/calendar.png"
/>
<
img
className
=
{
s
.
suffixIconSingle
}
alt
=
""
src
=
"https://static.mttop
group
.cn/admin/calendar.png"
/>
}
/
>
<
/span
>
...
...
@@ -37,7 +37,7 @@ class BIRangePicker extends React.PureComponent {
{...
this
.
props
}
locale
=
{
zhCN
}
suffixIcon
=
{
<
img
className
=
{
s
.
suffixIcon
}
alt
=
""
src
=
"https://static.mttop.cn/admin/calendar.png"
/>
<
img
className
=
{
s
.
suffixIcon
}
alt
=
""
src
=
"https://static.mttop
group
.cn/admin/calendar.png"
/>
}
/
>
<
/span
>
...
...
components/CustomIcon/IconFont.js
View file @
b95cbce3
import
{
createFromIconfontCN
}
from
'@ant-design/icons'
;
const
IconFont
=
createFromIconfontCN
({
scriptUrl
:
'https://static.mttop.cn/iconfont210309.js'
,
scriptUrl
:
'https://static.mttop
group
.cn/iconfont210309.js'
,
});
export
default
IconFont
;
components/CustomIcon/config.js
View file @
b95cbce3
export
default
{
'buniness'
:
{
path
:
'https://static.mttop.cn/admin/buniness.png'
,
selectedPath
:
'https://static.mttop.cn/admin/buniness_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/buniness.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/buniness_select.png'
,
name
:
'业务管理'
,
},
'approval'
:
{
path
:
'https://static.mttop.cn/admin/approval.png'
,
selectedPath
:
'https://static.mttop.cn/admin/approval_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/approval.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/approval_select.png'
,
name
:
'审批管理'
,
},
'message'
:
{
path
:
'https://static.mttop.cn/admin/news.png'
,
selectedPath
:
'https://static.mttop.cn/admin/message_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/news.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/message_select.png'
,
name
:
'消息管理'
,
},
'software'
:
{
path
:
'https://static.mttop.cn/admin/software.png'
,
selectedPath
:
'https://static.mttop.cn/admin/software_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/software.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/software_select.png'
,
name
:
'应用管理'
,
},
'org'
:
{
path
:
'https://static.mttop.cn/admin/org.png'
,
selectedPath
:
'https://static.mttop.cn/admin/org_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/org.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/org_select.png'
,
name
:
'应用管理'
,
},
'admin_user'
:
{
path
:
'https://static.mttop.cn/admin/admin_user.png'
,
selectedPath
:
'https://static.mttop.cn/admin/admin_user_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/admin_user.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/admin_user_select.png'
,
name
:
'应用管理'
,
},
'shimo'
:
{
path
:
'https://static.mttop.cn/admin/new_shimo_2.png'
,
selectedPath
:
'https://static.mttop.cn/admin/new_shimo_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/new_shimo_2.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/new_shimo_select.png'
,
name
:
'应用管理'
,
},
'calendar'
:
{
path
:
'https://static.mttop.cn/admin/new_calendar.png'
,
selectedPath
:
'https://static.mttop.cn/admin/new_calendar_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/new_calendar.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/new_calendar_select.png'
,
name
:
'应用管理'
,
},
'approval'
:
{
path
:
'https://static.mttop.cn/admin/approval_icon.png'
,
selectedPath
:
'https://static.mttop.cn/admin/arrroval_icon_select.png'
,
path
:
'https://static.mttop
group
.cn/admin/approval_icon.png'
,
selectedPath
:
'https://static.mttop
group
.cn/admin/arrroval_icon_select.png'
,
name
:
'应用管理'
,
}
}
components/IconFont/IconFont.ts
View file @
b95cbce3
import
{
createFromIconfontCN
}
from
'@ant-design/icons'
;
const
IconFont
=
createFromIconfontCN
({
scriptUrl
:
'https://static.mttop.cn/iconfont210309.js'
,
scriptUrl
:
'https://static.mttop
group
.cn/iconfont210309.js'
,
});
export
default
IconFont
;
components/apolloTable/component/base/extra/upload/fileType.ts
View file @
b95cbce3
const
CDN_PATH
=
'https://static.mttop.cn/admin'
;
const
CDN_PATH
=
'https://static.mttop
group
.cn/admin'
;
export
const
fileType
=
{
image
:
{},
ppt
:
{
...
...
components/dataView-V2/_components/filterCondition/index.tsx
View file @
b95cbce3
...
...
@@ -6,7 +6,7 @@ import styles from './styles.less';
// import { getOptionName } from '@/utils/utils';
// import { SIFT_TYPE } from '@/utils/enum';
/* eslint-disable react/sort-comp */
const
searchIcon
=
'https://static.mttop.cn/admin/sousuo.png'
;
const
searchIcon
=
'https://static.mttop
group
.cn/admin/sousuo.png'
;
interface
Props
{
onSubmit
:
Function
...
...
@@ -32,12 +32,12 @@ const FormFilterButton = (props: Props) => {
<
div
className=
{
styles
.
buttonGroup
}
>
<
Button
type=
"primary"
onClick=
{
onSubmit
}
className=
{
styles
.
btnCls
}
>
<
img
className=
{
styles
.
searchIconCls
}
src=
{
searchIcon
}
alt=
"查询"
/>
查询
</
Button
>
查询
</
Button
>
<
span
className=
{
styles
.
resertButton
}
>
<
Button
onClick=
{
onResert
}
className=
{
styles
.
btnCls
}
>
重置
</
Button
>
</
Button
>
</
span
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment