!54 修复 CopyButton 组件的样式传值方式,从字符串改为对象
Merge pull request !54 from Coast/fix/copy-button-style-object
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user