注释提示
parent
a1d4b7f8e6
commit
33efedd93c
|
|
@ -53,10 +53,10 @@ layui.use(["element", "layer"], function () {
|
||||||
*/
|
*/
|
||||||
window.tabAdd = function (title, path, tabId) {
|
window.tabAdd = function (title, path, tabId) {
|
||||||
if (self == top) {
|
if (self == top) {
|
||||||
console.log("不在iframe中")
|
// console.log("不在iframe中")
|
||||||
tabAdd1(title, path, tabId)
|
tabAdd1(title, path, tabId)
|
||||||
} else {
|
} else {
|
||||||
console.log("在iframe中")
|
// console.log("在iframe中")
|
||||||
tabAdd2(title, path, tabId)
|
tabAdd2(title, path, tabId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue