1234567891011121314151617181920 |
- import { getParent } from '../utils'
- export default {
- computed: {
- $form() {
- return getParent.call(this, "ClForm", [
- "labelWidth",
- "labelPosition",
- "showMessage",
- "model",
- "validateOnValueChange",
- "disabled"
- ]);
- },
- isDisabled() {
- return this.$form ? (this.$form.disabled || this.disabled) : this.disabled
- }
- }
- }
|