This commit is contained in:
2023-10-21 16:51:31 +08:00
parent 212adad2af
commit 347de07a90
1 changed files with 8 additions and 1 deletions

View File

@ -25,7 +25,14 @@ export default class Chat {
children: [
Input({
type: 'text',
placeholder: '输入聊天内容',
// 随机显示一句话
placeholder: [
'输入聊天内容',
'ctrl+左键: 左边显示',
'ctrl+右键: 右边显示',
'ctrl+下键: 居中显示',
'ctrl+L: 清屏',
].sort(() => Math.random() - 0.5)[0],
style: {
flex: 1,
height: '3rem',