菜单搜索,菜单icon

This commit is contained in:
吕金泽
2022-01-01 21:43:15 +08:00
parent 7269b13382
commit 19343abd84
8 changed files with 63 additions and 19 deletions
@@ -29,6 +29,7 @@
</template>
</div>
<el-image v-else-if="col.type === 'image'" :src="scope.row[col.field]" :preview-src-list="[scope.row[col.field]]" />
<span v-else-if="col.type === 'html'" v-html="scope.row[col.field]"></span>
<span v-else-if="col.click">
<a style="color: blue" @click="col.click(scope.row)">{{ scope.row[col.field] }}</a>
</span>