<template> <div class="setting-wrap"> <el-form ref="form" label-width="100px" label-position="left" :model="config" class="bs-el-form" > <el-form-item label="标题" label-width="100px" > <el-input v-model="config.title" placeholder="请输入标题" /> </el-form-item> <PosWhSetting :config="config" /> </el-form> </div> </template> <script> import PosWhSetting from 'data-room-ui/BigScreenDesign/RightSetting/PosWhSetting.vue' export default { name: 'CurrentTimeSetting', components: { PosWhSetting }, data () { return { activeName: 'data' } }, computed: { config: { get () { return this.$store.state.bigScreen.activeItemConfig }, set (val) { this.$store.state.bigScreen.activeItemConfig = val } } }, watch: { }, mounted () {}, methods: { } } </script> <style lang="scss" scoped> @import "../assets/style/settingWrap.scss"; .setting-wrap{ padding: 16px; } </style>