模板评分

This commit is contained in:
yanran200730
2022-12-06 11:40:48 +08:00
parent 632ae0c86c
commit fed26bc925
5 changed files with 317 additions and 1614 deletions

View File

@@ -7,7 +7,6 @@
</template>
<script>
import Add from './components/Add'
import List from './components/List'
export default {
@@ -28,8 +27,7 @@
},
components: {
List,
Add
List
},
mounted () {
@@ -40,11 +38,6 @@
methods: {
onChange (data) {
if (data.type === 'Add') {
this.component = 'Add'
this.params = data.params
}
if (data.type === 'List') {
this.component = 'List'
this.params = data.params