25 lines
430 B
Vue
25 lines
430 B
Vue
<template>
|
|
<XFormula :formula="formula" :block="block" />
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineAsyncComponent, defineComponent } from "vue";
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
XFormula: defineAsyncComponent(
|
|
() => import("@/components/MkFormulaCore.vue"),
|
|
),
|
|
},
|
|
props: {
|
|
formula: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
block: {
|
|
type: Boolean,
|
|
required: true,
|
|
},
|
|
},
|
|
});
|
|
</script>
|