【改进】教程列表
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>颜色</th>
|
||||
<th>置首</th>
|
||||
<th style="width: 120px;">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -122,6 +123,11 @@
|
||||
:style="{ backgroundColor: item.color || '#ffffff' }"
|
||||
></div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="badge" :class="item.firstStatus === 1 ? 'bg-success' : 'bg-info'">
|
||||
{{ item.firstStatus === 1 ? '置首' : '不置首' }}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="d-flex gap-1">
|
||||
<button class="btn btn-sm btn-primary" @click="categoryQueryData(item)">
|
||||
@@ -817,7 +823,7 @@
|
||||
this.editor = new wangEditor(editorDom);
|
||||
|
||||
// 编辑器配置
|
||||
this.editor.config.height = 400; // 高度
|
||||
this.editor.config.height = 200; // 高度
|
||||
this.editor.config.zIndex = 1050; // 层级(确保在模态框上方)
|
||||
this.editor.config.uploadImgShowBase64 = true; // 图片以 Base64 格式保存(无需后端接口)
|
||||
this.editor.config.menus = [
|
||||
|
||||
Reference in New Issue
Block a user