Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
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
Maple
TOSTUMI
Commits
57d20fdc
Commit
57d20fdc
authored
Jan 20, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
f0aec099
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
246 additions
and
222 deletions
+246
-222
Facility.tsx
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
+5
-1
FacilityTow.tsx
...ages/CommunityManagement/FacilityBookings/FacilityTow.tsx
+241
-221
No files found.
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
View file @
57d20fdc
...
...
@@ -164,8 +164,12 @@ const Facility = (props: any) => {
let
imgs
:
any
=
[];
// 小设施图片 -- 用作提交
let
name
=
[];
// 小设施名称 -- 用作判断重名
for
(
let
i
in
FacilitysList
)
{
// 设施名称不能为空
if
(
FacilitysList
[
i
].
name
==
''
)
{
message
.
error
(
'Facility name cannot be empty!'
);
return
false
;
}
name
.
push
(
FacilitysList
[
i
].
name
);
imgs
[
i
]
=
`
${
FacilitysList
[
i
].
name
}
&
${
FacilitysList
[
i
].
fileList
[
0
].
name
}
&
${
FacilitysList
[
i
].
fileList
[
0
].
uid
}
`
;
...
...
src/pages/CommunityManagement/FacilityBookings/FacilityTow.tsx
View file @
57d20fdc
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