diff --git a/PC/InterFace.Dash/src/components/showCopyJsonPop/index.vue b/PC/InterFace.Dash/src/components/showCopyJsonPop/index.vue index e9de0b7..55fcd6c 100644 --- a/PC/InterFace.Dash/src/components/showCopyJsonPop/index.vue +++ b/PC/InterFace.Dash/src/components/showCopyJsonPop/index.vue @@ -271,8 +271,8 @@ export default { } } - \ No newline at end of file diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue b/PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue index 5df6312..5c494de 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue +++ b/PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue @@ -175,7 +175,7 @@ { - this.$refs.copyDetailInput_ref.focus() - document.getElementById('copyDetailInput_dialog_ref').scrollTop = 0 + if(this.$refs.copyDetailInput_ref){ + this.$refs.copyDetailInput_ref.focus() + this.$refs.copyDetailInput_ref.$refs.textarea.scrollTop = 0 + } }) }, closeJsonPop(){ @@ -765,4 +768,10 @@ span { .itemSpan{ white-space: nowrap !important } +::v-deep .copyDetailInput{ + textarea{ + max-height: calc(100vh - 220px) !important; + overflow: auto !important; + } +} \ No newline at end of file