奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
3 deletions
-
web/src/style/element_visiable.scss
-
web/src/view/systemTools/autoCode/index.vue
|
|
@ -177,8 +177,7 @@ |
|
|
|
top: 16px; |
|
|
|
} |
|
|
|
.el-dialog__footer { |
|
|
|
margin-top: -12px; |
|
|
|
padding: 0 0 16px 0; |
|
|
|
padding: 0 16px 16px 0; |
|
|
|
.dialog-footer { |
|
|
|
.el-button { |
|
|
|
padding-left: 24px; |
|
|
|
|
|
@ -155,7 +155,7 @@ |
|
|
|
<el-button size="mini" type="primary" @click="copy">复制</el-button> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<PreviewCodeDialog v-if="previewFlag" :preview-code="preViewCode" /> |
|
|
|
<PreviewCodeDialog v-if="previewFlag" ref="preview" :preview-code="preViewCode" /> |
|
|
|
<template #footer> |
|
|
|
<div class="dialog-footer" style="padding-top:14px;padding-right:14px"> |
|
|
|
<el-button size="small" type="primary" @click="previewFlag = false">确 定</el-button> |
|
|
@ -246,6 +246,12 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
selectText() { |
|
|
|
this.$refs.preview.selectText() |
|
|
|
}, |
|
|
|
copy() { |
|
|
|
this.$refs.preview.copy() |
|
|
|
}, |
|
|
|
editAndAddField(item) { |
|
|
|
this.dialogFlag = true |
|
|
|
if (item) { |
|
|
|