This commit is contained in:
zhangmanman
2021-09-30 16:12:23 +08:00
parent 7dc1e0384b
commit e6f79ef61d
3 changed files with 18 additions and 9 deletions

View File

@@ -46,6 +46,7 @@
<script>
import record from '@/components/property/record'
import h5Copy from '@/js_sdk/junyi-h5-copy/junyi-h5-copy/junyi-h5-copy'
import {
sum,
price,
@@ -161,9 +162,17 @@
showCancel:false,
success: (res) => {
if (res.confirm) {
uni.setClipboardData({
data: this.balance.address
})
const result = h5Copy(this.balance.address)
if (result === false) {
uni.showToast({
title:'不支持',
})
} else {
uni.showToast({
title:'复制成功',
icon:'none'
})
}
}
}
})