mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 15:01:23 +08:00
Fixed tag too long bug
This commit is contained in:
@@ -13,9 +13,15 @@
|
|||||||
type="info"
|
type="info"
|
||||||
>无</el-tag
|
>无</el-tag
|
||||||
>
|
>
|
||||||
<el-tag v-for="(column, index) in scope.row.customColumn_1" :key="index">{{
|
<el-tooltip
|
||||||
column
|
v-for="(column, index) in scope.row.customColumn_1"
|
||||||
}}</el-tag>
|
:key="index"
|
||||||
|
:content="column"
|
||||||
|
>
|
||||||
|
<el-tag>{{
|
||||||
|
column.length > 20 ? column.substring(0, 19) + '...' : column
|
||||||
|
}}</el-tag>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column v-if="customColumnLabel_2" :label="customColumnLabel_2">
|
<el-table-column v-if="customColumnLabel_2" :label="customColumnLabel_2">
|
||||||
@@ -25,9 +31,15 @@
|
|||||||
type="info"
|
type="info"
|
||||||
>无</el-tag
|
>无</el-tag
|
||||||
>
|
>
|
||||||
<el-tag v-for="(column, index) in scope.row.customColumn_2" :key="index">{{
|
<el-tooltip
|
||||||
column
|
v-for="(column, index) in scope.row.customColumn_2"
|
||||||
}}</el-tag>
|
:key="index"
|
||||||
|
:content="column"
|
||||||
|
>
|
||||||
|
<el-tag>{{
|
||||||
|
column.length > 20 ? column.substring(0, 19) + '...' : column
|
||||||
|
}}</el-tag>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" width="80px">
|
<el-table-column label="状态" align="center" width="80px">
|
||||||
|
|||||||
Reference in New Issue
Block a user