2022-10-20 移动端下载功能

2

const params = {

        url: fileUrl,

        method: 'POST',

        body: params,

        fileName: `${new Date().getTime()}.xls`,

        header: {

        }

      }

   parent.shsc.download({

        ...params,

        config: {

          timeout: 10 * 60 * 1000

        },

        success: (res) => {

        },

        fail: (err) => {

        }

      })

你可能感兴趣的:(2022-10-20 移动端下载功能)