<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title></title>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="c.js"></script>
</head>
<body>
<div id="app"></div>
</body>
</html>
$(function () {
console.log('这里是最外层的js')
})
var callVue = {
closeLdb: function () {
console.log('调用到了closeldb')
console.log(window)
console.log(window.external)
window.external.CloseFlowArrangeWindow()
}
}
function myClose() {
console.log('外部自己的close')
}
function recvPara(type) {
console.log(type)
console.log(typeof type)
}
// 调用外部的关闭
CloseFlowArrangeWindow () {
callVue.closeLdb()
}