Commit 8dcf9433 by 李少勇

修改input-textarea组件

parent 508041cf
......@@ -633,9 +633,8 @@
</template>
<script>
import event from '../event';
import InputTextarea from "~/components/InputTextarea";
export default {
components: { InputTextarea },
components: {},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
......
......@@ -26,7 +26,7 @@
>
<c-input-textarea
type="textarea"
v-modle="model.gidgrp.blk.gtxgidtxtc"
v-model="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
......
......@@ -2,14 +2,13 @@
<el-input
:id="id"
ref="form-item"
v-model="value"
v-model="model"
type="textarea"
v-bind="$attrs"
v-on="$listeners"
v-bind:disabled="disabled"
:rows="maxRows"
resize="none"
@change="onChange"
/>
</template>
<script>
......@@ -42,10 +41,6 @@ export default {
}
}
},
methods: {
onChange () {
this.$emit('change', this.model)
}
}
methods: {}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment