v-text预期:string详细:更新元素的 textContent。如果要更新部分的textContent,需要使用 Mustache 插值。<span v-text="msg"></span> <!-- 等价于 --> <span>{{msg}}</span>