app-form.vue 554 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<template>
  <i-form form="form">
    <row >
      <slot></slot>
    </row>
  </i-form>
</template>
<script lang = 'ts'>
import { Component, Vue, Prop } from 'vue-property-decorator';

@Component({})
export default class AppForm extends Vue {

    /**
     * 表单数据对象
     *
     * @type {*}
     * @memberof Form
     */
    @Prop() public form?: any;

    /**
     * 表单名称
     *
     * @type {string}
     * @memberof Form
     */
    @Prop() public name?: string;
}
</script>
<style lang = "less">
@import './app-form.less';
</style>