mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 07:35:06 +08:00
初始化 uniapp 小程序
This commit is contained in:
22
yudao-vue-ui/components/jyf-parser/libs/handler.wxs
Normal file
22
yudao-vue-ui/components/jyf-parser/libs/handler.wxs
Normal file
@ -0,0 +1,22 @@
|
||||
var inline = {
|
||||
abbr: 1,
|
||||
b: 1,
|
||||
big: 1,
|
||||
code: 1,
|
||||
del: 1,
|
||||
em: 1,
|
||||
i: 1,
|
||||
ins: 1,
|
||||
label: 1,
|
||||
q: 1,
|
||||
small: 1,
|
||||
span: 1,
|
||||
strong: 1,
|
||||
sub: 1,
|
||||
sup: 1
|
||||
}
|
||||
module.exports = {
|
||||
use: function(item) {
|
||||
return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user