Skip to content

Commit

Permalink
fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yirius committed Feb 21, 2018
1 parent 7878450 commit ca01c48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yirius/icesui",
"description": "a new admin ui for tp5",
"version": "0.4",
"version": "0.5",
"type": "think-extend",
"license": "MIT",
"authors": [
Expand All @@ -22,7 +22,7 @@
"require": {
"topthink/think-helper": ">=1.0.4",
"topthink/think-installer": ">=1.0.10",
"topthink/think-captcha": "^2.0"
"topthink/think-captcha": ">=2.0"
},
"extra": {}
}
2 changes: 1 addition & 1 deletion src/view/setting/addtopmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
$.post("", {text: name, name: url, status: status, icon: icon, list_order: menu_listorder}, function(data){
if(data.code == 1){
if({:input("param.id")}){
if({:input("param.id", 0)}){
toastr.success("修改成功,请重新打开界面");
}else{
toastr.success("添加成功,请重新打开界面");
Expand Down

0 comments on commit ca01c48

Please sign in to comment.