update type
parent
656c2ee522
commit
b89667118d
|
|
@ -78,7 +78,7 @@
|
|||
var treeObj, loadIndex;
|
||||
$.ajax({
|
||||
url: "data/permission-tree.json",
|
||||
type: "post",
|
||||
type: "get",
|
||||
dataType: "json",
|
||||
data: {roleId: 1},
|
||||
beforeSend: function () {
|
||||
|
|
|
|||
|
|
@ -77,9 +77,9 @@
|
|||
// zTree异步请求所有权限树节点
|
||||
var treeObj, loadIndex;
|
||||
$.ajax({
|
||||
url: 'data/permission-tree.json',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
url: "data/permission-tree.json",
|
||||
type: "get",
|
||||
dataType: "json",
|
||||
data: {roleId: 1},
|
||||
beforeSend: function () {
|
||||
loadIndex = layer.load(0, {shade: 0.1});
|
||||
|
|
|
|||
Loading…
Reference in New Issue