update 实时数据“

This commit is contained in:
2022-09-27 15:52:03 +08:00
부모 a0253cc235
커밋 5d32750d87
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -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()
}) })