fix config path

pull/54/head
sentsin 2016-11-07 20:54:33 +08:00
parent ad4de417f4
commit 14c6dd1277
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ var layer = {
layer.path = ready.config.path || layer.path;
typeof options.extend === 'string' && (options.extend = [options.extend]);
if(ready.config.path) layer.ready();
if(!options.extend) return this;
isLayui