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