Skip to content

Commit

Permalink
添加debug
Browse files Browse the repository at this point in the history
  • Loading branch information
doom-9-zz committed Jun 13, 2022
1 parent 0a5f95d commit cbd0619
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/image/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ preview-disabled.vue
custom.vue
tooltip.vue
full-debug.vue
lazy-debug.vue
```

## API
Expand Down
16 changes: 16 additions & 0 deletions src/image/demos/zhCN/lazy-debug.demo.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<markdown>
# 原始尺寸展示图片
</markdown>

<template>
<n-image
v-for="(item, index) in Array(50)"
:key="index"
width="100"
src="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
lazy
:lazy-options="{
root: '.n-layout--static-positioned'
}"
/>
</template>

0 comments on commit cbd0619

Please sign in to comment.