1
0
mirror of synced 2026-03-22 18:48:34 +08:00

fix(vue-components): button删除调试代码,text支持富文本

This commit is contained in:
roymondchen
2025-03-18 16:54:55 +08:00
parent d53a479b21
commit 2a714ae9cc
4 changed files with 5 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
{
"version": "0.1.0",
"version": "0.1.1",
"name": "@tmagic/vue-text",
"type": "module",
"main": "src/index.ts",

View File

@@ -1,7 +1,5 @@
<template>
<p @click="clickHandler">
<slot>{{ config.text }}</slot>
</p>
<p @click="clickHandler" v-html="config.text"></p>
</template>
<script lang="ts">