mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 富文本设置失效(#58)
This commit is contained in:
parent
8a5c238b81
commit
b59aa88e4b
@ -338,8 +338,7 @@ export default defineComponent({
|
||||
const wordSpaceOptions = [0, 1, 2, 3, 4, 5, 6, 8, 10]
|
||||
|
||||
// 发射富文本设置命令
|
||||
const emitRichTextCommand = (payload: RichTextCommand) => {
|
||||
const { command, value } = payload
|
||||
const emitRichTextCommand = (command: string, value?: string) => {
|
||||
emitter.emit(EmitterEvents.RICH_TEXT_COMMAND, { command, value })
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user