|
|
@@ -9,7 +9,7 @@ const DownUpdateFile = ({ updateFile }) => {
|
|
|
if (isNullOrUnDef(updateFile) || isEmpty(updateFile)) return null
|
|
|
const handleDownExcel = () => {
|
|
|
const oa = document.createElement('a')
|
|
|
- oa.href = `http://cld.smartcost.com.cn/${updateFile}`
|
|
|
+ oa.href = `https://cld.smartcost.com.cn/${updateFile}`
|
|
|
oa.setAttribute('target', '_blank')
|
|
|
document.body.appendChild(oa)
|
|
|
oa.click()
|