forked from mt-fe-group/mt-yd-ui
update 实时数据“
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user