fix: 🐛 修复 CopyButton 组件的样式传值方式,从字符串改为对象

This commit is contained in:
Coast
2025-11-25 11:19:09 +08:00
parent a0b714999e
commit 2857f4fc82
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@
<copy-button
v-if="scope.row[scope.prop]"
:text="scope.row[scope.prop]"
style="margin-left: 2px"
:style="{ marginLeft: '2px' }"
/>
</template>
</page-content>

View File

@@ -45,7 +45,7 @@
<copy-button
v-if="scope.row[scope.prop]"
:text="scope.row[scope.prop]"
style="margin-left: 2px"
:style="{ marginLeft: '2px' }"
/>
</template>
</page-content>