Skip to content

Commit

Permalink
Merge pull request #162 from newpanjing/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
newpanjing authored Sep 30, 2019
2 parents 0933fb5 + 948f141 commit 78f3f61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion simpleui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def get_version():
return '3.0'
return '3.1'
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 78f3f61

Please sign in to comment.