提交 40ee82f8 authored 作者: 刘旭's avatar 刘旭

解决样式全局污染

上级 310bc3ac
......@@ -14,7 +14,7 @@
<el-table-column label="名称" prop="mesName" />
<el-table-column label="操作" width="135" align="center" v-if="fieldTitle !== '详情'">
<template #default="scope">
<el-space style="margin-right: 0">
<el-space>
<el-popconfirm title="确认删除该明细?" @confirm="handleDelete(scope.$index)">
<template #reference>
<el-link :underline="false" type="danger">删除</el-link>
......@@ -123,8 +123,8 @@ const moveDown = (index: number, row: any) => {
</script>
<style>
.el-space__item {
margin-right: 0 !important;
<style lang="scss" scoped>
::v-deep(.el-space__item) {
margin-right: 0 !important
}
</style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论