9.24禅道bug修复

szh-new
lijingjia 2 months ago
parent e5add46c56
commit bbe79d13fd

@ -198,13 +198,23 @@
} }
// //
const copyTxt = (v, key) => { const copyTxt = (v, key) => {
navigator.clipboard.writeText(v.values[key]) const el = document.createElement('input')
createMessage.success('复制成功') el.setAttribute('value', v.values[key])
document.body.appendChild(el)
el.select()
document.execCommand('copy')
document.body.removeChild(el)
createMessage.success('复制成功!')
} }
// //
const copyNo = (v) => { const copyNo = (v) => {
navigator.clipboard.writeText(v) const el = document.createElement('input')
createMessage.success('复制成功') el.setAttribute('value', v)
document.body.appendChild(el)
el.select()
document.execCommand('copy')
document.body.removeChild(el)
createMessage.success('复制成功!')
} }
// //
const customerNoRef = ref(null) const customerNoRef = ref(null)

Loading…
Cancel
Save