📝: layer文档示例图片路径更换,Notify不强制取消遮罩
This commit is contained in:
parent
43c4ef2e47
commit
f3b2d137b3
@ -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>
|
||||||
|
@ -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() {
|
||||||
|
@ -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);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user