Skip to content

Commit 702f6ad

Browse files
author
anewzhuang
committed
feat: 更新文档
1 parent 1dabde9 commit 702f6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
|----------------|--------|--------|------------------------|
88
| src| string ||图片链接, 修改图片的src属性会自动请求新的图片并渲染|
99
| type| string || 图片的类型,simple默认,sliced九宫格,tiled平铺渲染|
10-
|inset|string|| 九宫格设置的区域,"${left} ${top} ${right} ${bottom}",如'10 20 30 10'|
10+
|inset|string|| 九宫格设置的区域,left\|top\|right\|bottom,如'10 20 30 10'|
1111

1212
::: tip
1313
1.小游戏开放数据域场景图片路径不需要加./作为前缀,以小游戏根目录作为根目录;

0 commit comments

Comments
 (0)