This commit is contained in:
2023-07-03 17:19:13 +08:00
parent 618953aab1
commit 9f0996824c
2 changed files with 55 additions and 22 deletions

View File

@@ -112,8 +112,8 @@ export default {
next()
},
activated () {
if (this.$store.getters.materObj !== '') {
this.dataList.push(JSON.parse(this.$store.getters.materObj))
if (this.$store.getters.materArr.length > 0) {
this.dataList = [...this.dataList, ...this.$store.getters.materArr]
}
},
created () {