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(
|
2024-04-08 01:10:23 +00:00
|
|
|
() => import("@/components/MkFormulaCore.vue"),
|
2023-07-23 13:31:28 +00:00
|
|
|
),
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
formula: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
block: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
2023-07-07 19:22:30 +00:00
|
|
|
});
|
|
|
|
</script>
|