diff --git a/src/api/login.js b/src/api/login.js index e784879..fbf463e 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -88,4 +88,12 @@ export function postCommonCheckVersion(data) { method: 'post', data: data }) +} +// 更新签名 +export function postUpdateOpsSignatureUpdate(data) { + return request({ + url: '/users/ops/signature/update', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/layout/components/ESignatureDialog.vue b/src/layout/components/ESignatureDialog.vue index b66d3e6..4736417 100644 --- a/src/layout/components/ESignatureDialog.vue +++ b/src/layout/components/ESignatureDialog.vue @@ -6,7 +6,7 @@ :show-close="true" @close="handleClose" @opened="initCanvas" - qappend-to-body + append-to-body > @@ -40,13 +40,16 @@ ref="fileInput" type="file" accept="image/*" - class="file-input" - @change="handleFileChange" + style="display: none" + @change="handleFileSelect" />