Note on van-list data paging

When triggering the search event or clicking the Dropdown menu to filter by time, remember to leave the resultList empty, or in the loading call to obtain data method, determine pageNo===1, directly assign the value, otherwise use concat or push, push is recommended. View updates can be triggered.

ios 100% 100vh

Get browser address

Js gets the browser address window.location.href

The axios interceptor time out cancels the interface request

Axios post request

This will give you an error! 500 won’t get params

Be sure to change {data} to {params}

The joy of learning is to put it to use

The box should have rounded corners, and the big outer box should also have rounded corners

ForEach returns undefined

FindIndex returns the index of the first element that meets the criteria, otherwise -1

Picture dynamic path

<img :src="`${$downloadURL}/file/download? id=${item.coverId}`" width="120px" height="68px" style="border-radius:4px" />Copy the code

H5 page file download method

  1. Using window.location.href can be problematic on the mobile end
Window. The location. Href 'http://imtt.dd.qq.com/16891/26747DD8B125A8479AD0C9D22CA47BC9.apk?fsname=com.snda.wifilocating_4.2.9 1_3211.apk&csr=1bbd';Copy the code
  1. Using the frame www.cnblogs.com/10manongit/…

  2. The question diverges between iframe and Frame frameset

    Frames are used in frameset, not body. Iframes can be used alone, just like financially independent big children.