|
@@ -1,6 +1,6 @@
|
|
|
// @ts-nocheck
|
|
|
import { EditType, Runtime } from "./edit";
|
|
|
-import { resolveDirective, UnwrapRef, withDirectives } from "vue";
|
|
|
+import { UnwrapRef } from "vue";
|
|
|
import { BizException, ExceptionEnum } from "../BizException";
|
|
|
import { ElMessageBox } from "element-plus";
|
|
|
import XEUtils from "xe-utils";
|
|
@@ -113,7 +113,13 @@ export function useEmrDiv(
|
|
|
options?: Options,
|
|
|
cb?: (res: UseEmrInitReturn) => void
|
|
|
) {
|
|
|
- const divRef = shallowRef<{ rst: UseEmrInitReturn }>();
|
|
|
+ const divRef = shallowRef<{
|
|
|
+ rst: UseEmrInitReturn;
|
|
|
+ myEmr: {
|
|
|
+ emr: EditType;
|
|
|
+ runtime: Runtime;
|
|
|
+ };
|
|
|
+ }>();
|
|
|
const showLoading = shallowRef(true);
|
|
|
|
|
|
const DivIframe = defineComponent({
|