diff --git a/src/components/TabComponents/index.vue b/src/components/TabComponents/index.vue index 6b296a85e4ea2d6b93cff61d9f60d5fec9eb6dda..8d57849550792d994e020ea2fd33dda0f830bb25 100644 --- a/src/components/TabComponents/index.vue +++ b/src/components/TabComponents/index.vue @@ -100,7 +100,9 @@ " > @@ -292,11 +290,8 @@ trigger="click" > - {{ op.title || "更多操作" - }} - + {{ op.title || "更多操作" }} + {{ - child.formatter - ? child.formatter(scope.row).label - : child.label + child.formatter + ? child.formatter(scope.row).label + : child.label }} @@ -347,32 +342,40 @@ :inactive-value="op.inactiveValue" > - - {{ - op.formatter - ? op.formatter(scope.row).label - : op.label - ? op.label - : scope.row[column.value] - }} - + @@ -382,7 +385,9 @@ ? column.operations.formatter(scope.row) : column.operations" > - @@ -512,9 +513,7 @@ :size="column.size" > - {{ - scope.row[column.value] - }} + {{ scope.row[column.value] }} @@ -565,7 +564,9 @@ @@ -629,7 +630,8 @@ style="float: left" type="primary" @click="column.func(scope.$index)" - >上传 + >上传 {{ scope.row.imgUrl }} + >{{ scope.row.imgUrl }} 删除 + >删除