{empty name="$data"}

- 列表
- 新增

{/empty}
标题
{php}$web_config = \think\Db::name('webconfig')->where('id', 1)->find();{/php} {switch name="$web_config.article_editor" } {case value="ueditor"} {include file="article/publish_ueditor" item="data" field="content"}{/case} {case value="tinymce"} {include file="article/publish_tinymce" item="data" field="content"}{/case} {case value="markdown"} {include file="article/publish_markdown" item="data" field="content"}{/case} {default /} {include file="article/publish_wangEditor" item="data" field="content"} {/switch} {notempty name="$data"} {/notempty}