Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Jul 29, 2024
1 parent bc255cd commit 46d48c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use app\admin\validate\GoodsCategoryValidate;
use app\common\facade\GoodsCategoryFacade;
use app\common\model\GoodsCategoryModel;
use Overtrue\Pinyin\Pinyin;
use think\Db;

class CategoryController extends BaseController
Expand Down
4 changes: 2 additions & 2 deletions src/application/admin/view/credit/goods/edit.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
<div class="btn-group btn-group-toggle btn-group-sm" data-toggle="buttons">
<label class="btn btn-outline-secondary{$goods['status']=='1'?' active':''}">
<input type="radio" name="status" value="1" autocomplete="off"
{$goods['type']=='1' ?'checked':''}>是
{$goods['status']=='1' ?'checked':''}>是
</label>
<label class="btn btn-outline-secondary{$goods['status']=='0'?' active':''}">
<input type="radio" name="status" value="0" autocomplete="off"
{$goods['type']=='0' ?'checked':''}>否
{$goods['status']=='0' ?'checked':''}>否
</label>
</div>
</div>
Expand Down

0 comments on commit 46d48c5

Please sign in to comment.