独立的url使用top.layer.open

This commit is contained in:
yubao
2018-04-01 22:08:00 +08:00
parent 8759ed3ba3
commit f7e28148d1
10 changed files with 10 additions and 20 deletions

View File

@@ -2,8 +2,7 @@
base: "/js/"
}).use(['form','vue', 'ztree', 'layer', 'jquery', 'table','droptree','openauth'], function () {
var form = layui.form,
//layer = (parent == undefined || parent.layer === undefined )? layui.layer : parent.layer,
layer = layui.layer,
layer = (top == undefined || top.layer === undefined )? layui.layer : top.layer,
$ = layui.jquery;
var table = layui.table;
var openauth = layui.openauth;