From 78f465bd82184d5bba900d5653cec4345f4c9641 Mon Sep 17 00:00:00 2001 From: arter Date: Wed, 6 Jun 2018 22:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=90=8C=E7=9A=84=E6=A0=8F=E7=9B=AE?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=8F=AF=E4=BB=A5=E6=B7=B7=E5=90=88=E7=A9=BF?= =?UTF-8?q?=E6=8F=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/admin/category_add.html | 2 +- view/admin/channel_add.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/view/admin/category_add.html b/view/admin/category_add.html index aca222f9f..bce5da655 100644 --- a/view/admin/category_add.html +++ b/view/admin/category_add.html @@ -990,7 +990,7 @@ //获取上级菜单 $.ajax({ url: "/admin/category/gettree", - data:{mold:{{controller.get('mold')}}}, + data:{mold:'all'}, success: function (msg) { /* 展示生成的HTML */ $("#pid").html(category_to_html(msg)); diff --git a/view/admin/channel_add.html b/view/admin/channel_add.html index afa2229c9..682417218 100644 --- a/view/admin/channel_add.html +++ b/view/admin/channel_add.html @@ -135,8 +135,7 @@ //获取上级菜单 $.ajax({ - url: "/admin/category/gettree", - data:{mold:'all'}, + url: "/admin/channel/getchannel", success: function (msg) { /* 展示生成的HTML */ $("#pid").html(category_to_html(msg));