2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-17 19:21:24 +03:00

feat: support customize copy text

This commit is contained in:
陈峰
2019-08-31 17:15:51 +08:00
parent fae9735acb
commit c0a26557e0
4 changed files with 17 additions and 6 deletions
+4 -1
View File
@@ -13,7 +13,10 @@ new Vue({
<json-viewer
value={this.jsonData}
expand-depth={5}
copyable
copyable={{
copyText: '复制',
copiedText: '复制成功'
}}
boxed
sort></json-viewer>
</div>