<template> <div v-html=content></div> </template> 可以直接在style样式中添加 但是注意几点 1 不要加scoped 2 若是必须又scoped,需要使用>>>穿透scoped