Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
newpanjing committed Sep 30, 2019
1 parent b92ff60 commit 0c41373
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions simpleui/static/admin/simpleui-x/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,12 @@
}
,
openTab: function (data, index, selected) {

//如果data没有eid就直接打开或者添加根据url
if (!data.eid) {
data.eid = new Date().getTime() + "" + Math.random();
}

if (index) {
this.menuActive = String(index);
}
Expand Down

0 comments on commit 0c41373

Please sign in to comment.