From 6d8b8a13f7995990e4fb101f687f37cd55e5c715 Mon Sep 17 00:00:00 2001 From: cxdbz Date: Thu, 25 Oct 2018 20:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=88=AB=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/view/index/welcome.html | 2 +- application/system/controller/Category.php | 2 -- application/system/view/category/edit.html | 4 ++-- application/system/view/category/index.html | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/application/index/view/index/welcome.html b/application/index/view/index/welcome.html index f2c5c278..e8cc8683 100644 --- a/application/index/view/index/welcome.html +++ b/application/index/view/index/welcome.html @@ -192,7 +192,7 @@ diff --git a/application/system/controller/Category.php b/application/system/controller/Category.php index 83799339..bb2eeb17 100644 --- a/application/system/controller/Category.php +++ b/application/system/controller/Category.php @@ -155,8 +155,6 @@ class Category extends Base // 获取权限信息 $list = CG::field('id,title,pid,paixu') ->get($id); - $list = $list->getData(); - $this->assign('list',$list); diff --git a/application/system/view/category/edit.html b/application/system/view/category/edit.html index 3e802178..99dd7007 100644 --- a/application/system/view/category/edit.html +++ b/application/system/view/category/edit.html @@ -1,7 +1,7 @@ {extend name="common@create" /} {block name="formaa"} -
+
@@ -72,6 +72,6 @@ }; // 设置表单提交方式 - var mytype = 'POST'; + var mytype = 'PUT'; {/block} \ No newline at end of file diff --git a/application/system/view/category/index.html b/application/system/view/category/index.html index 6304000c..2e8f250b 100644 --- a/application/system/view/category/index.html +++ b/application/system/view/category/index.html @@ -21,7 +21,7 @@ 批量删除 - + 添加类别 @@ -87,7 +87,7 @@ // 启用按钮 startbut = ''; // 编辑按钮 - editbut = ''; + editbut = ''; delbut = ''; if(row.status == '已停用') {