emis-app/components/tpx-textarea/tpx-textarea.vue

44 lines
692 B
Vue
Raw Normal View History

2023-12-18 16:30:33 +00:00
<template>
2024-03-04 11:09:51 +00:00
<u-textarea shape="circle" placeholder-style=""
2023-12-18 16:30:33 +00:00
:modelValue="value" :clearable="true" :placeholder="placeholder"
2024-04-28 15:55:37 +00:00
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 15rpx 20rpx;" height="160"
@change="handleChange"
2023-12-18 16:30:33 +00:00
></u-textarea>
</template>
<script>
export default {
props: {
value: {
default () {
return ''
}
},
placeholder:{
default () {
return ''
}
},
},
data() {
},
created() {
},
onHide() {
},
2024-01-30 03:09:14 +00:00
unmounted() {},
2023-12-18 16:30:33 +00:00
methods: {
handleChange(val){
this.$emit('change', val)
this.$emit('update:value', val)
}
}
}
</script>
<style scoped lang="scss">
</style>