<el-table-column prop="物料号(1)" align="center" min-width="180">
<template v-slot:header>
物料号(1)
<el-popover placement="top-start" effect="dark" :width="180" trigger="hover" content="此处写提示语句">
<template #reference>
<el-icon>
<QuestionFilled />
</el-icon>
</template>
</el-popover>
</template>
</el-table-column>
1.effect="dark" 不写为白色背景提示,添加后为黑色背景提示。
2.placement="top-start" 设置提示出现得位置。
3.:width="180" 设置提示得宽度。
4.content="此处写提示语句" 填写要