Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
60ec25ac
Commit
60ec25ac
authored
Apr 13, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 临时添加禁止修改逻辑
parent
6b94933d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
46 deletions
+81
-46
data.js
src/pages/businessManage/info/data.js
+5
-3
index.jsx
src/pages/businessManage/info/index.jsx
+76
-43
No files found.
src/pages/businessManage/info/data.js
View file @
60ec25ac
...
@@ -261,7 +261,8 @@ export function renderServiceTags() {
...
@@ -261,7 +261,8 @@ export function renderServiceTags() {
that
.
state
.
businessInfo
.
customList
.
map
(
tag
=>
{
that
.
state
.
businessInfo
.
customList
.
map
(
tag
=>
{
const
isLongTag
=
tag
.
length
>
20
;
const
isLongTag
=
tag
.
length
>
20
;
const
tagElem
=
(
const
tagElem
=
(
<
Tag
key
=
{
tag
}
closable
onClose
=
{()
=>
handleClose
.
call
(
that
,
tag
)}
>
// closable 二期放开
<
Tag
key
=
{
tag
}
onClose
=
{()
=>
handleClose
.
call
(
that
,
tag
)}
>
{
isLongTag
?
`
${
tag
.
slice
(
0
,
20
)}
...`
:
tag
}
{
isLongTag
?
`
${
tag
.
slice
(
0
,
20
)}
...`
:
tag
}
<
/Tag
>
<
/Tag
>
);
);
...
@@ -286,14 +287,15 @@ export function renderServiceTags() {
...
@@ -286,14 +287,15 @@ export function renderServiceTags() {
onPressEnter
=
{
e
=>
handleInputConfirm
.
call
(
that
,
e
)}
onPressEnter
=
{
e
=>
handleInputConfirm
.
call
(
that
,
e
)}
/
>
/
>
)}
)}
{
!
that
.
state
.
tagVisible
&&
(
{
/* 二期放开 */
}
{
/* {!that.state.tagVisible && (
<Tag
<Tag
onClick={() => showInput.call(that)}
onClick={() => showInput.call(that)}
style={{ background: '#fff', borderStyle: 'dashed' }}
style={{ background: '#fff', borderStyle: 'dashed' }}
>
>
<PlusOutlined /> 新增
<PlusOutlined /> 新增
</Tag>
</Tag>
)}
)}
*/
}
<
/div
>
<
/div
>
);
);
}
}
...
...
src/pages/businessManage/info/index.jsx
View file @
60ec25ac
This diff is collapsed.
Click to expand it.
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