-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么不能复制呀,选择json内容无法被鼠标选中?copy按钮也没有显示出来 #95
Comments
我也出现相同问题 |
你直接用solt去添加就可以了 |
slot怎么添加的呢?发现不行 |
slot="copy" |
@Tammylch 标签添加copyable属性后,用slot配置 <template slot="copy" slot-scope="scope">
<el-button v-if="!scope.copied" type="text">copy</el-button>
<el-button v-else type="text" disabled>copied</el-button>
</template> |
这样好像确实解决了,但是设置copyable默认属性,按官方的做法不用单独再slot,这是不是bug啊? |
2.2.21版本才行,2.2.22显示不出来复制@Weihoooooooo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
为什么不能复制呀,选择json内容无法被鼠标选中?copy按钮也没有显示出来
The text was updated successfully, but these errors were encountered: