1. 工作人员账号添加
This commit is contained in:
Zy
2026-10-15 09:30:04 +08:00
parent 2ccce95d44
commit 87cd3d2519
30 changed files with 1988 additions and 614 deletions

View File

@@ -7,6 +7,7 @@
v-model="inputText"
:autosize="{ minRows:5, maxRows:8 }"
placeholder="请输入回复内容"
:disabled="disable"
type="textarea"
@keydown="handleKeyDown"
/>
@@ -27,6 +28,7 @@
class="btn-img"
plain
type="info"
:disabled="disable"
@click="handleSelectImage"
>
上传图片
@@ -52,6 +54,12 @@ const props = defineProps({
sending: {
type: Boolean,
default: false
},
/** 是否禁用输入框 */
disable: {
type: Boolean,
default: false
}
})
@@ -68,7 +76,7 @@ const inputText = ref('')
// 是否可以发送
const canSend = computed(() => {
return !!inputText.value.trim()
return !!inputText.value.trim() && !props.disable
})
// 点击图片图标,唤起文件选择