积分商城

This commit is contained in:
yanran200830
2022-11-22 17:57:05 +08:00
parent 30b9a137c2
commit 991310f9b8
4 changed files with 267 additions and 392 deletions

View File

@@ -8,7 +8,7 @@
<script>
import List from './components/List'
import Detail from './components/Detail'
import Add from './components/Add'
export default {
name: 'AppGoods',
@@ -28,14 +28,14 @@
},
components: {
Detail,
Add,
List
},
methods: {
onChange (data) {
if (data.type === 'Detail') {
this.component = 'Detail'
if (data.type === 'Add') {
this.component = 'Add'
this.params = data.params
}