12345678910111213141516171819 |
- // 数学公式组件
- // 该组件用于展示数学公式,使用 MathJax 渲染公式内容
- import { commonSetProperty } from './common';
- export function getFillProperty() {
- return {
- ...commonSetProperty,
- };
- }
- export function getMathData() {
- return {
- type: 'math',
- title: '公式',
- property: getFillProperty(),
- math: '', // 公式内容
- };
- }
|