Plotly.js subplot issue, only shows the last one data

I have a javascript project, and using plotly.js for graph analysis. My goal is to show two plots in one website page, each plot contains two sets of data, two lines. I learned to use subplot function, and layout setting. I tested that in my demo website, works fine. But when I complied the layout, data to my project, the plot only shows the last set data, so one line. The funny thing is the names of Axis are overlaying. I attached the images.

Could you share a reproducible code snippet to help us help you?