|
@@ -66,7 +66,9 @@ export default defineComponent({
|
|
|
input.style.position = 'absolute'
|
|
|
input.style.left = '-1000px'
|
|
|
input.style.zIndex = '-1000'
|
|
|
- document.body.appendChild(input)
|
|
|
+ // 为了处理,页面滑动到底部的问题
|
|
|
+ // document.body.appendChild(input)
|
|
|
+ document.querySelector('#input-copy-container')?.appendChild(input)
|
|
|
}
|
|
|
|
|
|
input.value = textString
|
|
@@ -242,6 +244,7 @@ export default defineComponent({
|
|
|
}}
|
|
|
></Cell>
|
|
|
</CellGroup>
|
|
|
+ <div id="input-copy-container"></div>
|
|
|
</div>
|
|
|
|
|
|
{/* 判断是否有物流单号 */}
|