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

Merge pull request !54 from Coast/fix/copy-button-style-object
This commit is contained in:
Theo
2025-11-26 02:44:35 +00:00
committed by Gitee
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>