Browse Source

no message

xiaochan 1 year ago
parent
commit
6bedf13e12

+ 1 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/GenerateSignature.vue

@@ -13,7 +13,7 @@ async function handelGenerateSignature() {
   }).then(res => {
     if (stringNotBlank(res.autographImage)) {
       const editor = emrMitt.emit('editor')
-      editor.execute('insertContents', {
+      editor!.execute('insertContents', {
         value: [{
           type: "image",
           src: `data:image/png;base64,${res.autographImage}`,