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-06-17 11:53:25 | 4 | + * @LastEditTime: 2024-06-17 13:19:51 |
| 5 | * @FilePath: /data-table/src/components/SignField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/SignField/MyComponent.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -78,7 +78,7 @@ onMounted(() => { | ... | @@ -78,7 +78,7 @@ onMounted(() => { |
| 78 | readonly.value = props.component_props.readonly | 78 | readonly.value = props.component_props.readonly |
| 79 | } | 79 | } |
| 80 | // 非只读,有默认值 | 80 | // 非只读,有默认值 |
| 81 | - if (props.component_props.default) { | 81 | + if (props.component_props.default.url) { |
| 82 | default_value.value = props.component_props.default?.url; // 默认值显示 | 82 | default_value.value = props.component_props.default?.url; // 默认值显示 |
| 83 | image_url.value = props.component_props.default?.url; // 动态处理sign_value值的变化 | 83 | image_url.value = props.component_props.default?.url; // 动态处理sign_value值的变化 |
| 84 | show_control.value = false; // 不显示控制按钮 | 84 | show_control.value = false; // 不显示控制按钮 | ... | ... |
-
Please register or login to post a comment