This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

移除markd旧解析库;优化button

old
宇天 2020-04-14 00:39:26 +08:00
parent 75081547bc
commit 77c1022a8e
2 changed files with 1 additions and 2 deletions

View File

@ -106,6 +106,7 @@
border: 0; border: 0;
&:hover { &:hover {
background: none;
text-decoration: underline; text-decoration: underline;
} }
} }

View File

@ -255,7 +255,6 @@ code.inline {
import $ from '../utils' import $ from '../utils'
import '../code/index' import '../code/index'
import core from './backup'
import markd from './core' import markd from './core'
export default class Markd { export default class Markd {
@ -272,7 +271,6 @@ export default class Markd {
} }
mounted() { mounted() {
// this.__BOX__.innerHTML = core.safe(this.textContent)
this.__BOX__.innerHTML = markd(this.textContent) this.__BOX__.innerHTML = markd(this.textContent)
this.textContent = '' this.textContent = ''