- 注册时间
- 2017-5-3
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 58
- 精华
- 0
- 帖子
- 12
|
dforce 发表于 2018-6-13 09:04
你这页面是怎么放的?tab上url引入的吗?
function activeTab(item) {
var tabs = mini.get("mainTabs");
var tab = tabs.getTab(item.id);
if (!tab) {
tab = { name: item.id, title: item.text, url: item.url, iconCls: item.iconCls, showCloseButton: true };
tab = tabs.addTab(tab);
}
tabs.activeTab(tab);
}
你们的例题上也是从tab的url引入的。只要你改下css的background的颜色就会显示出来。 |
|