wupengfei 3 years ago
parent
commit
26392a6fbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/store/view/integral_goods/form.html

+ 1 - 1
application/store/view/integral_goods/form.html

@@ -153,7 +153,7 @@
                         <div class="layui-form-item">
                             <label class="layui-form-label">模板开关</label>
                             <div class="layui-input-inline">
-                                {if $vo.freight_type == 1}
+                                {if isset($vo.freight_type) && $vo.freight_type == 1}
                                 <input type="checkbox"  lay-filter="freight_type" checked="checked"  lay-skin="switch" lay-text="ON|OFF">
                                 {else}
                                 <input type="checkbox"  lay-filter="freight_type"  lay-skin="switch" lay-text="ON|OFF">