<script>
import {
// isNumber,
isEmpty,
toCamelCase,
} from '@/utils/commonFun.js';
export default {
name: 'BaseForm',
props: {
disabled: {
type: Boolean, default: false },
formLabel: {
type: Object,
default: () => {
return {
name: '',
code: '',
value: null,
type: 'String',
reg: undefined,
msg: '',
required: false,
disabled: false,
};
},
},
},
data() {
return {
elFormProps: {
},
};
},
mounted() {
this.elFormProps = this.$children[0]._props;
<
vue的jsx写法
最新推荐文章于 2023-10-06 11:13:29 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)