mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-18 05:47:34 +00:00
no message
This commit is contained in:
parent
38eaf2eb02
commit
3c9447e1b6
1
resources/assets/js/functions/web.js
vendored
1
resources/assets/js/functions/web.js
vendored
@ -615,6 +615,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
* @returns {string}
|
||||
*/
|
||||
filterInvalidLine(content) {
|
||||
if (!content) return '';
|
||||
return `${content}`
|
||||
.replace(/^(<p>\s*<\/p>)+|(<p>\s*<\/p>)+$/gi, '')
|
||||
.replace(/^(<p><br\/*><\/p>)+|(<p><br\/*><\/p>)+$/gi, '')
|
||||
|
||||
@ -3056,7 +3056,7 @@ export default {
|
||||
},
|
||||
|
||||
onVisible(v) {
|
||||
this.startMsgId = $A.runNum(v.length > 0 ? v[0] : 0)
|
||||
this.startMsgId = $A.runNum(v.length ? v[Math.min(1, v.length - 1)] : 0)
|
||||
},
|
||||
|
||||
onBack() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user