songxingwei 3 years ago
parent
commit
a8016a7698
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/store/view/article/form.html

+ 2 - 2
application/store/view/article/form.html

@@ -57,12 +57,12 @@
                 <div id="cate" lay-filter="cate">
                     {if !isset($vo.id)}
                        {foreach $catelist as $key=>$v}
-                         <input type="radio" name="cate"  value="{$v.id}" title="{$v.name}">
+                         <input type="radio" name="cate"  value="{$v.id}" lay-filter="cate" title="{$v.name}">
                        {/foreach}
 
                     {else}
                         {foreach $catelist as $key=>$v}
-                        <input type="radio" name="cate" {if $v.id eq $vo.cate}checked{/if} value="{$v.id}" title="{$v.name}">
+                        <input type="radio" lay-filter="cate" name="cate" {if $v.id eq $vo.cate}checked{/if}  value="{$v.id}" title="{$v.name}">
                         {/foreach}
                     {/if}
                 </div>