Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-03-29 17:44:24 | 2 | * @Date: 2023-03-29 17:44:24 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-08-03 20:36:11 | 4 | + * @LastEditTime: 2024-08-22 16:09:05 |
| 5 | * @FilePath: /data-table/src/components/SignField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/SignField/MyComponent.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| 8 | <template> | 8 | <template> |
| 9 | <div style="width: 100%;"> | 9 | <div style="width: 100%;"> |
| 10 | - <div v-show="!default_value" ref="wrapperRef" class="esign-wrapper"> | 10 | + <div v-show="!default_value && !readonly" ref="wrapperRef" class="esign-wrapper"> |
| 11 | <vue-esign v-if="esignWidth" ref="esign" class="sign-wrapper" :width="esignWidth" :height="esignHeight" :isCrop="isCrop" | 11 | <vue-esign v-if="esignWidth" ref="esign" class="sign-wrapper" :width="esignWidth" :height="esignHeight" :isCrop="isCrop" |
| 12 | :lineWidth="lineWidth" :lineColor="lineColor" :bgColor.sync="bgColor" /> | 12 | :lineWidth="lineWidth" :lineColor="lineColor" :bgColor.sync="bgColor" /> |
| 13 | <div v-if="show_sign" class="whiteboard"> | 13 | <div v-if="show_sign" class="whiteboard"> | ... | ... |
-
Please register or login to post a comment