2023-07-07 19:22:30 +00:00
|
|
|
<template>
|
2023-07-23 13:31:28 +00:00
|
|
|
<XFormula :formula="formula" :block="block" />
|
2023-07-07 19:22:30 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent, defineAsyncComponent } from "vue";
|
|
|
|
import * as os from "@/os";
|
|
|
|
|
|
|
|
export default defineComponent({
|
2023-07-23 13:31:28 +00:00
|
|
|
components: {
|
|
|
|
XFormula: defineAsyncComponent(
|
|
|
|
() => import("@/components/MkFormulaCore.vue")
|
|
|
|
),
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
formula: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
block: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
2023-07-07 19:22:30 +00:00
|
|
|
});
|
|
|
|
</script>
|