浏览代码

增加菜单标签

索隆 6 年之前
父节点
当前提交
13e07353a2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/function.js

+ 1 - 1
js/function.js

@@ -41,7 +41,7 @@ function loginout(){
41 41
 }
42 42
 
43 43
 function getMenu(){
44
-	var openIndex = 0, res = {data:[{"name":"预测管理","parent_id":"0","url":"prediction.html","list":[]},{"name":"用户管理","parent_id":"0","url":"management.html","list":[]},{"name":"火钻管理","parent_id":"0","url":"pierer.html","list":[]}]};
44
+	var openIndex = 0, res = {data:[{"name":"预测管理","parent_id":"0","url":"prediction.html","list":[]},{"name":"预测标签管理","parent_id":"0","url":"tags.html","list":[]}{"name":"用户管理","parent_id":"0","url":"management.html","list":[]},{"name":"火钻管理","parent_id":"0","url":"pierer.html","list":[]}]};
45 45
 	/*ajax({url:"api/?a=public&act=menu",data:{},callBack:function(res){
46 46
 		if(res.code == 1){*/
47 47
 			$.each(res.data,function(index, items){