Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
df0b2c36
authored
May 22, 2020
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交成功后,需要清除语音、图片等数据
parent
fc803436
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
app/containers/equipConsu/EquipConsuPage.js
app/containers/quickOrder/QuickOrderPage.js
app/containers/equipConsu/EquipConsuPage.js
View file @
df0b2c36
...
...
@@ -1048,6 +1048,7 @@ class EquipConsuPage extends Component {
let
{
props
}
=
this
let
{
listOptionData
,
subInitListOption
}
=
this
.
state
props
.
setEquipInitData
()
// 清空缓存数据
let
imgArr
=
[]
this
.
setState
({
listOptionData
:
listOptionData
.
map
((
item
,
index
)
=>
{
// 器械消耗 为何和 快速下单一样赋值方式就不行,所以换成这个
...
...
@@ -1055,7 +1056,8 @@ class EquipConsuPage extends Component {
item
[
key
]
=
subInitListOption
[
index
][
key
]
})
return
item
})
}),
localPhoOption
:
[...
imgArr
]
})
}
...
...
app/containers/quickOrder/QuickOrderPage.js
View file @
df0b2c36
...
...
@@ -1245,7 +1245,9 @@ class EquipConsuPage extends Component {
props
.
setQuickInitData
()
// 清空缓存数据
listOptionData
=
cloneObject
(
subInitListOption
)
// 清空本地数据
this
.
setState
({
listOptionData
listOptionData
,
currentTime
:
0
,
// 清除语音
stop
:
false
})
}
...
...
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