mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 03:52:50 +00:00
perf: 移动设备优化消息输入框菜单
This commit is contained in:
parent
ad1cc964c9
commit
b7fc815d58
@ -252,6 +252,12 @@ export default {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
toolbar: {
|
||||
type: Array,
|
||||
default: () => {
|
||||
return ['bold', 'strike', 'italic', 'underline', {'list': 'ordered'}, {'list': 'bullet'}, 'blockquote', 'code-block']
|
||||
},
|
||||
},
|
||||
maxlength: {
|
||||
type: Number
|
||||
},
|
||||
@ -658,9 +664,7 @@ export default {
|
||||
readOnly: false,
|
||||
placeholder: this.placeholder,
|
||||
modules: {
|
||||
toolbar: [
|
||||
['bold', 'strike', 'italic', 'underline', {'list': 'ordered'}, {'list': 'bullet'}, 'blockquote', 'code-block']
|
||||
],
|
||||
toolbar: this.$isEEUiApp || this.windowTouch ? false : this.toolbar,
|
||||
keyboard: {
|
||||
bindings: {
|
||||
'short enter': {
|
||||
@ -1244,9 +1248,7 @@ export default {
|
||||
readOnly: false,
|
||||
placeholder: this.placeholder,
|
||||
modules: {
|
||||
toolbar: [
|
||||
['bold', 'strike', 'italic', 'underline', {'list': 'ordered'}, {'list': 'bullet'}, 'blockquote', 'code-block']
|
||||
],
|
||||
toolbar: this.toolbar,
|
||||
mention: this.quillMention()
|
||||
}
|
||||
}, this.options))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user