mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[Improvement] extract component common part (#703)
This commit is contained in:
@@ -5,15 +5,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Cell from '../cell';
|
||||
import VanSwitch from '../switch';
|
||||
import { create } from '../utils';
|
||||
|
||||
export default create({
|
||||
name: 'van-switch-cell',
|
||||
name: 'switch-cell',
|
||||
|
||||
components: {
|
||||
Cell,
|
||||
VanSwitch
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user