emis-sapp/components/tpx-textarea/tpx-textarea.vue
2024-05-31 18:42:15 +08:00

44 lines
692 B
Vue

<template>
<u-textarea shape="circle" placeholder-style=""
:modelValue="value" :clearable="true" :placeholder="placeholder"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 15rpx 20rpx;" height="160"
@change="handleChange"
></u-textarea>
</template>
<script>
export default {
props: {
value: {
default () {
return ''
}
},
placeholder:{
default () {
return ''
}
},
},
data() {
},
created() {
},
onHide() {
},
unmounted() {},
methods: {
handleChange(val){
this.$emit('change', val)
this.$emit('update:value', val)
}
}
}
</script>
<style scoped lang="scss">
</style>