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

Merge pull request !54 from Coast/fix/copy-button-style-object
This commit is contained in:
Theo authored and Gitee committed 2025-11-26 02:44:35 +00:00
commit f9dba1d67a
2 files changed
+2 -2

No files matched your search

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