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

This commit is contained in:
Coast committed 2025-11-25 11:19:09 +08:00
1 parent a0b714999e
commit 2857f4fc82
2 files changed
+2 -2

No files matched your search

+1 -1
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>
+1 -1
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>