Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -56,7 +56,7 @@ const ReadonlyShow = computed(() => { | ... | @@ -56,7 +56,7 @@ const ReadonlyShow = computed(() => { |
| 56 | 56 | ||
| 57 | onMounted(() => { | 57 | onMounted(() => { |
| 58 | // 只读模式下默认值替换换行符 | 58 | // 只读模式下默认值替换换行符 |
| 59 | - props.item.value = item.component_props.readonly ? props.item.component_props.default?.replace(/\n/g, "<br>") : props.item.component_props.default; | 59 | + props.item.value = props.item.component_props.readonly ? props.item.component_props.default?.replace(/\n/g, "<br>") : props.item.component_props.default; |
| 60 | }) | 60 | }) |
| 61 | </script> | 61 | </script> |
| 62 | 62 | ... | ... |
-
Please register or login to post a comment