📝: layer文档示例图片路径更换,Notify不强制取消遮罩

This commit is contained in:
0o张不歪o0 2022-07-06 10:34:18 +08:00
parent 43c4ef2e47
commit f3b2d137b3
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<ul> <ul>
<li>[新增] dropdown-menu-item 新增 disabled 属性。by @starsatdawn</li> <li>[新增] dropdown-menu-item 新增 disabled 属性。by @starsatdawn</li>
<li>[修复] table默认加载时有横向滚动条header 的滚动条占位无法显示 by @dingyongya</li> <li>[修复] table默认加载时有横向滚动条header 的滚动条占位无法显示 by @dingyongya</li>
<li>[优化] carousel首次加载时不应存在动画效果而是应立即显示默认的item by @0o张不歪o0</li> <li>[优化] carousel首次加载时不应存在动画效果而是应立即显示默认的item by @SmallWai</li>
</ul> </ul>
</li> </li>
</ul> </ul>

View File

@ -292,11 +292,11 @@ const openRight = function() {
import { layer } from "../../../../layer/src/index" import { layer } from "../../../../layer/src/index"
const signleImg = function() { const signleImg = function() {
layer.photos("/src/assets/logo.jpg") layer.photos("http://www.pearadmin.com/assets/images/un1.svg")
} }
const signleImg2 = function() { const signleImg2 = function() {
layer.photos({ layer.photos({
imgList:[{src:'/src/assets/logo.jpg',alt:'layer for vue'}] imgList:[{src:'http://www.pearadmin.com/assets/images/un2.svg',alt:'layer for vue'}]
}) })
} }
const groupImg = function() { const groupImg = function() {

View File

@ -140,12 +140,12 @@ const layer = {
}, },
//通知 //通知
notifiy: (option: any = {}, callback?: Function) => { notifiy: (option: any = {}, callback?: Function) => {
option.shade = false;
option.type = 6; option.type = 6;
let defaultOption = { let defaultOption = {
offset: "rt", offset: "rt",
time: 2000, time: 2000,
area: "auto", area: "auto",
shade:false
}; };
return layer.create(option, defaultOption, callback); return layer.create(option, defaultOption, callback);
}, },