mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 13:08:13 +00:00
no message
This commit is contained in:
parent
2ecd0584aa
commit
ef2230a331
@ -66,7 +66,6 @@
|
||||
"vite-plugin-vue2": "^2.0.3",
|
||||
"vue": "~2.6.14",
|
||||
"vue-clipboard2": "^0.3.3",
|
||||
"vue-jsonp": "^2.0.0",
|
||||
"vue-kityminder-ggg": "^1.3.10",
|
||||
"vue-loader": "^15.10.1",
|
||||
"vue-resize-observer": "^2.0.16",
|
||||
|
||||
@ -40,8 +40,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { jsonp } from 'vue-jsonp'
|
||||
|
||||
export default {
|
||||
name: 'ChatEmoji',
|
||||
props: {
|
||||
|
||||
@ -815,11 +815,13 @@ export default {
|
||||
|
||||
// Update model if text changes
|
||||
this.quill.on('text-change', _ => {
|
||||
const {index} = this.quill.getSelection(true);
|
||||
if (this.quill.getText(index - 1, 1) === "\r") {
|
||||
this.quill.insertText(index, "\n");
|
||||
this.quill.deleteText(index - 1, 1);
|
||||
return;
|
||||
if (this.isFocus) {
|
||||
const {index} = this.quill.getSelection();
|
||||
if (this.quill.getText(index - 1, 1) === "\r") {
|
||||
this.quill.insertText(index, "\n");
|
||||
this.quill.deleteText(index - 1, 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.textTimer) {
|
||||
clearTimeout(this.textTimer)
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div class="cause">
|
||||
<p>{{$L("申请人")}}:<span class="mark-color">@{{ msg.data.nickname }}</span> {{ msg.data.department }}</p>
|
||||
<b>{{$L("详情")}}</b>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ msg.data.type }}</p>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ $L(msg.data.type) }}</p>
|
||||
<p>{{$L("开始时间")}}:{{ msg.data.start_time }} ({{ msg.data.start_day_of_week }})</p>
|
||||
<p>{{$L("结束时间")}}:{{ msg.data.end_time }} ({{ msg.data.end_day_of_week }})</p>
|
||||
<p>{{$L("事由")}}:{{ msg.data.description }}</p>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div class="cause">
|
||||
<p>{{$L("申请人")}}:<span class="mark-color">@{{ msg.data.nickname }}</span> {{ msg.data.department }}</p>
|
||||
<b>{{$L("详情")}}</b>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ msg.data.type }}</p>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ $L(msg.data.type) }}</p>
|
||||
<p>{{$L("开始时间")}}:{{ msg.data.start_time }} ({{ msg.data.start_day_of_week }})</p>
|
||||
<p>{{$L("结束时间")}}:{{ msg.data.end_time }} ({{ msg.data.end_day_of_week }})</p>
|
||||
<p>{{$L("事由")}}:{{ msg.data.description }}</p>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div class="cause">
|
||||
<p>{{$L("申请人")}}:<span class="mark-color">@{{ msg.data.start_nickname }}</span> {{ msg.data.department }}</p>
|
||||
<b>{{$L("详情")}}</b>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ msg.data.type }}</p>
|
||||
<p v-if="msg.data.type">{{$L("假期类型")}}:{{ $L(msg.data.type) }}</p>
|
||||
<p>{{$L("开始时间")}}:{{ msg.data.start_time }} ({{ msg.data.start_day_of_week }})</p>
|
||||
<p>{{$L("结束时间")}}:{{ msg.data.end_time }} ({{ msg.data.end_day_of_week }})</p>
|
||||
<p>{{$L("事由")}}:{{ msg.data.description }}</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user