update 实时数据“
This commit is contained in:
parent
a0253cc235
commit
5d32750d87
@ -51,7 +51,7 @@ export default {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
onClose: () => {
|
onClose: () => {
|
||||||
this.clearData()
|
this.clearData()
|
||||||
this.fetchList().then(res => {
|
this.fetchList().then(({ data: res }) => {
|
||||||
this.testData = res
|
this.testData = res
|
||||||
this.handleData()
|
this.handleData()
|
||||||
})
|
})
|
||||||
|
@ -48,7 +48,7 @@ export default {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
onClose: () => {
|
onClose: () => {
|
||||||
this.clearData()
|
this.clearData()
|
||||||
this.fetchList().then(res => {
|
this.fetchList().then(({ data: res }) => {
|
||||||
this.testData = res
|
this.testData = res
|
||||||
this.handleData()
|
this.handleData()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user