mirror of
https://github.com/doocs/md.git
synced 2025-01-22 20:04:39 +08:00
chore: update post channels (#515)
This commit is contained in:
parent
8e8080b228
commit
49c3231012
@ -32,6 +32,7 @@ async function prePost() {
|
||||
markdown: ``,
|
||||
accounts: [],
|
||||
}
|
||||
const accounts = allAccounts.value.filter(a => !['weixin', 'ipfs'].includes(a.type))
|
||||
try {
|
||||
auto = {
|
||||
thumb: document.querySelector<HTMLImageElement>(`#output img`)?.src ?? ``,
|
||||
@ -42,7 +43,7 @@ async function prePost() {
|
||||
desc: document.querySelector(`#output p`)!.textContent ?? ``,
|
||||
content: output.value,
|
||||
markdown: editor.value?.getValue() ?? ``,
|
||||
accounts: allAccounts.value,
|
||||
accounts,
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user