You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
502 B
39 lines
502 B
|
4 years ago
|
<template>
|
||
|
|
<view>
|
||
|
|
|
||
|
|
<plate @listenPlateChange="plateChange" :defaultPlate="plateNumber" />
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import {
|
||
|
|
plate
|
||
|
|
} from '@/components/plate/index.vue'
|
||
|
|
export default {
|
||
|
|
name: "index",
|
||
|
|
components: {
|
||
|
|
plate
|
||
|
|
},
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
plateNumber: ['苏', 'E', '', '', '', '', '']
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad() {
|
||
|
|
|
||
|
|
},
|
||
|
|
onShow() {
|
||
|
|
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
plateChange(val) {
|
||
|
|
console.log(val);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
|
||
|
|
</style>
|