- 注册时间
- 2015-9-29
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 23
- 精华
- 0
- 帖子
- 5
|
felt 发表于 2015-9-29 16:37
你是通过boot.js引用miniui的吗
如果是的话,boot.js里面mini_debugger=false就不会有这样的弹出提示 ...
是这样引入的
<head>
<title>空运拖车状态管理</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../demo/demo.css" rel="stylesheet" type="text/css" />
<LINK href="favicon.ico" type="image/x-icon" rel=icon>
<LINK href="favicon.ico" type="image/x-icon" rel="shortcut icon">
<script src="../scripts/boot.js" type="text/javascript"></script>
<script src="../scripts/jquery-form.js" type="text/javascript"></script>
............
<script type="text/javascript">
var WinAlerts = window.alert;
var CountrType = [{id:'空运',text:'空运'}]
//登录角色的权限
var dd=document.getElementById("role").value;
window.alert = function (e) {if (e != null && e.indexOf('www.miniui.com')>-1){}else{ WinAlerts (e);}};
mini.parse();
var grid = mini.get("datagrid1");
grid.load();
var time_bucketes = [{ id: '1', text: '上午' }, { id: '2', text: '下午'}];
//监听,绘制单元格
grid.on("drawcell", function (e) {
var record = e.record,column = e.column,field = e.field,value = e.value; |
|