Browse Source

轮播图url不必填

zhangxiaobin 1 year ago
parent
commit
186c129af0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      application/admin/view/banner/add.html
  2. 1 1
      application/admin/view/banner/edit.html

+ 1 - 1
application/admin/view/banner/add.html

@@ -29,7 +29,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-url" data-rule="required" class="form-control" name="row[url]" type="text" value="">
+            <input id="c-url" data-rule="" class="form-control" name="row[url]" type="text" value="">
         </div>
     </div>
     <div class="form-group">

+ 1 - 1
application/admin/view/banner/edit.html

@@ -29,7 +29,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-url" data-rule="required" class="form-control" name="row[url]" type="text" value="{$row.url|htmlentities}">
+            <input id="c-url" data-rule="" class="form-control" name="row[url]" type="text" value="{$row.url|htmlentities}">
         </div>
     </div>
     <div class="form-group">