mirror of https://github.com/layui/layer
fix config path
parent
ad4de417f4
commit
14c6dd1277
|
@ -41,6 +41,8 @@ var layer = {
|
||||||
layer.path = ready.config.path || layer.path;
|
layer.path = ready.config.path || layer.path;
|
||||||
typeof options.extend === 'string' && (options.extend = [options.extend]);
|
typeof options.extend === 'string' && (options.extend = [options.extend]);
|
||||||
|
|
||||||
|
if(ready.config.path) layer.ready();
|
||||||
|
|
||||||
if(!options.extend) return this;
|
if(!options.extend) return this;
|
||||||
|
|
||||||
isLayui
|
isLayui
|
||||||
|
|
Loading…
Reference in New Issue