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
33eed3a1
authored
Nov 12, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
d175d33f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/pages/home/device/film_list/index.tsx
+1
-1
src/pages/home/film/schedule_add/components/device/index.tsx
+5
-1
No files found.
src/pages/home/device/film_list/index.tsx
View file @
33eed3a1
...
...
@@ -73,7 +73,7 @@ class Films extends Component {
showMyToast
({
title
:
'删除成功~'
})
}
catch
(
error
)
{
console
.
error
(
error
)
showMyToast
({
title
:
'
失败成功~
'
})
showMyToast
({
title
:
'
删除失败
'
})
}
}
})
...
...
src/pages/home/film/schedule_add/components/device/index.tsx
View file @
33eed3a1
...
...
@@ -104,6 +104,7 @@ class DeviceSelect extends Component {
*/
const
{
cId
}
=
this
.
$router
.
params
cId
&&
cId
!==
'null'
&&
api
.
common
.
getScheduleDetail
(
cId
).
then
(
res
=>
{
console
.
log
(
res
)
const
{
equipmentInfos
}
=
res
...
...
@@ -177,7 +178,10 @@ class DeviceSelect extends Component {
async
updateBind
()
{
// 更新设备绑定
const
{
checked
,
list
}
=
this
.
state
const
{
cId
,
fId
}
=
this
.
$router
.
params
let
{
cId
,
fId
}
=
this
.
$router
.
params
if
(
cId
===
'null'
)
{
cId
=
''
}
let
checkedArr
:
any
=
[]
const
equipmentsIds
=
[]
const
equipmentTopicList
=
[]
...
...
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