fix: 处理加上链接内容就会消失的bug

This commit is contained in:
奔跑的面条
2023-07-21 16:43:05 +08:00
parent d30b04dae4
commit b841fe876d
3 changed files with 135 additions and 135 deletions
@@ -1,7 +1,7 @@
<template>
<div class="go-text-box">
<div class="content">
<span style="cursor: pointer; white-space: pre-wrap" v-if="link" @click="click"></span>
<span style="cursor: pointer; white-space: pre-wrap" v-if="link" @click="click">{{ option.dataset }}</span>
<span style="white-space: pre-wrap" v-else>{{ option.dataset }}</span>
</div>
</div>