feat: 商品规格箭头左对齐

This commit is contained in:
duan 2025-04-02 16:35:01 +08:00
parent 7d7d95f0ad
commit f337d7841f
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,12 @@
<page-content ref="contentRef" :content-config="contentConfig" @add-click="handleAddClick"
@edit-click="handleEditClick" @export-click="handleExportClick" @search-click="handleSearchClick"
@toolbar-click="handleToolbarClick" @operat-click="handleOperatClick" @filter-change="handleFilterChange">
<template #deptName="scope">
<div style="display: inline-block;width: 50px;">
{{ scope.row.name }}
</div>
<!-- <el-text></el-text> -->
</template>
<template #status="scope">
<el-tag :type="scope.row[scope.prop] == 1 ? 'success' : 'info'">
{{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}

View File

@ -45,7 +45,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
],
cols: [
// { type: "selection", width: 50, align: "center" },
{ label: "模板名称", align: "center", prop: "name" },
{ label: "模板名称", align: "center", slotName: "deptName", templet: "custom", },
{ label: "完整名称", align: "center", prop: "fullName" },
// {
// label: "操作",