Commit 6819a9dbe06fc667700089fe42b9b9895ad6f8cb
1 parent
9f3b871b
perf(external/Composes): 修改大标题默认选中地址回显
Showing
1 changed file
with
4 additions
and
3 deletions
| @@ -119,7 +119,7 @@ const uploadFileListRef = ref() | @@ -119,7 +119,7 @@ const uploadFileListRef = ref() | ||
| 119 | 119 | ||
| 120 | const selectBgOptions = ref<Array<SelectOption>>([]) | 120 | const selectBgOptions = ref<Array<SelectOption>>([]) |
| 121 | 121 | ||
| 122 | -const selectValue = ref('') | 122 | +const selectValue = ref('headerBg08') |
| 123 | 123 | ||
| 124 | // TODO待封装 成传文件夹名字获取下面所有图片 | 124 | // TODO待封装 成传文件夹名字获取下面所有图片 |
| 125 | const getFetchImages = () => { | 125 | const getFetchImages = () => { |
| @@ -183,10 +183,11 @@ const handleChange = (value: boolean) => { | @@ -183,10 +183,11 @@ const handleChange = (value: boolean) => { | ||
| 183 | const clearImage = () => { | 183 | const clearImage = () => { |
| 184 | props.optionData.backgroundImage = '' | 184 | props.optionData.backgroundImage = '' |
| 185 | props.optionData.bgSrc = '' | 185 | props.optionData.bgSrc = '' |
| 186 | + selectValue.value = '' | ||
| 186 | } | 187 | } |
| 187 | </script> | 188 | </script> |
| 188 | <style lang="scss" scoped> | 189 | <style lang="scss" scoped> |
| 189 | -$uploadWidth: 215px; | 190 | +// $uploadWidth: 215px; |
| 190 | $uploadHeight: 193px; | 191 | $uploadHeight: 193px; |
| 191 | .upload-box { | 192 | .upload-box { |
| 192 | cursor: pointer; | 193 | cursor: pointer; |
| @@ -198,7 +199,7 @@ $uploadHeight: 193px; | @@ -198,7 +199,7 @@ $uploadHeight: 193px; | ||
| 198 | } | 199 | } |
| 199 | .n-upload-dragger { | 200 | .n-upload-dragger { |
| 200 | padding: 5px; | 201 | padding: 5px; |
| 201 | - width: $uploadWidth; | 202 | + // width: $uploadWidth; |
| 202 | } | 203 | } |
| 203 | } | 204 | } |
| 204 | .upload-show { | 205 | .upload-show { |