Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client-taro
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
da8656ba
authored
Nov 26, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 删除bug
parent
77af143c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
src/pages/home/device/device_list/index.tsx
+2
-6
src/pages/home/device/group_detail/index.tsx
+2
-6
No files found.
src/pages/home/device/device_list/index.tsx
View file @
da8656ba
...
@@ -216,11 +216,7 @@ class MyDevice extends Component {
...
@@ -216,11 +216,7 @@ class MyDevice extends Component {
pullingDown=
{
done
=>
this
.
pullingDown
(
done
)
}
pullingDown=
{
done
=>
this
.
pullingDown
(
done
)
}
>
>
{
list
.
map
(
item
=>
(
{
list
.
map
(
item
=>
(
<
View
<
View
className=
"device-item-container"
key=
{
item
.
equipmentId
}
>
className=
"device-item-container"
key=
{
item
.
equipmentId
}
onClick=
{
()
=>
this
.
goDetail
(
item
.
equipmentId
)
}
>
<
AtSwipeAction
<
AtSwipeAction
autoClose
autoClose
key=
{
item
.
equipmentId
}
key=
{
item
.
equipmentId
}
...
@@ -240,7 +236,7 @@ class MyDevice extends Component {
...
@@ -240,7 +236,7 @@ class MyDevice extends Component {
}
}
]
}
]
}
>
>
<
DeviceItem
{
...
item
}
/>
<
DeviceItem
{
...
item
}
onClick=
{
()
=>
this
.
goDetail
(
item
.
equipmentId
)
}
/>
</
AtSwipeAction
>
</
AtSwipeAction
>
</
View
>
</
View
>
))
}
))
}
...
...
src/pages/home/device/group_detail/index.tsx
View file @
da8656ba
...
@@ -144,11 +144,7 @@ class DeviceGroup extends Component {
...
@@ -144,11 +144,7 @@ class DeviceGroup extends Component {
pullingDown=
{
done
=>
this
.
pullingDown
(
done
)
}
pullingDown=
{
done
=>
this
.
pullingDown
(
done
)
}
>
>
{
list
.
map
(
item
=>
(
{
list
.
map
(
item
=>
(
<
View
<
View
className=
"group-item"
key=
{
item
.
equipmentId
}
>
className=
"group-item"
key=
{
item
.
equipmentId
}
onClick=
{
()
=>
this
.
goDetail
(
item
.
equipmentId
)
}
>
<
AtSwipeAction
<
AtSwipeAction
autoClose
autoClose
key=
{
item
.
equipmentId
}
key=
{
item
.
equipmentId
}
...
@@ -162,7 +158,7 @@ class DeviceGroup extends Component {
...
@@ -162,7 +158,7 @@ class DeviceGroup extends Component {
}
}
]
}
]
}
>
>
<
DeviceItem
{
...
item
}
/>
<
DeviceItem
{
...
item
}
onClick=
{
()
=>
this
.
goDetail
(
item
.
equipmentId
)
}
/>
</
AtSwipeAction
>
</
AtSwipeAction
>
</
View
>
</
View
>
))
}
))
}
...
...
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