diff options
Diffstat (limited to 'web/html/common/text_modal.html')
| -rw-r--r-- | web/html/common/text_modal.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index a0352c88..b2da6160 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -1,7 +1,7 @@ {{define "textModal"}} <a-modal id="text-modal" v-model="txtModal.visible" :title="txtModal.title" :closable="true" ok-text='{{ i18n "copy" }}' cancel-text='{{ i18n "close" }}' - :class="siderDrawer.isDarkTheme ? darkClass : ''" + :class="siderDrawer.isDarkTheme ? darkClass : ''" :ok-button-props="{attrs:{id:'txt-modal-ok-btn'}}"> <a-button v-if="!ObjectUtil.isEmpty(txtModal.fileName)" type="primary" style="margin-bottom: 10px;" :href="'data:application/text;charset=utf-8,' + encodeURIComponent(txtModal.content)" :download="txtModal.fileName"> @@ -32,7 +32,6 @@ }); this.clipboard.on('success', () => app.$message.success('{{ i18n "copied" }}')); } - }); }, close: function () { @@ -41,7 +40,7 @@ }; const textModalApp = new Vue({ - delimiters: ['[[', ']]'], + delimiters: ['[[', ']]'], el: '#text-modal', data: { txtModal: txtModal, |
