Skip to content

Commit 4209075

Browse files
authored
fix: [image] 修复初始化异步操作时,预览大图空白的bug (#3371)
1 parent 6dddba4 commit 4209075

File tree

1 file changed

+1
-1
lines changed
  • packages/renderless/src/image-viewer

1 file changed

+1
-1
lines changed

packages/renderless/src/image-viewer/vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const initWatch = ({ watch, state, api, props, nextTick, vm }) => {
237237
() => {
238238
state.urlList = props.urlList
239239
},
240-
{ deep: true }
240+
{ deep: true, immediate: true }
241241
)
242242
}
243243

0 commit comments

Comments
 (0)