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:
+4
-1
@@ -13,7 +13,10 @@ new Vue({
|
||||
<json-viewer
|
||||
value={this.jsonData}
|
||||
expand-depth={5}
|
||||
copyable
|
||||
copyable={{
|
||||
copyText: '复制',
|
||||
copiedText: '复制成功'
|
||||
}}
|
||||
boxed
|
||||
sort></json-viewer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user