模板评分
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user