<style>
</style>
<template>
<div>
<div v-html="str"></div>
</div>
</template>
<script>
export default {
data() {
return {
str: "<div>1111</div>"
};
},
components: {}
};
</script>
Vue脚手架 v-html用法
最新推荐文章于 2023-07-17 23:19:27 发布