outaozhen 5 лет назад
Родитель
Сommit
68d2a01e1e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/pages/Product/Lock/Lockstore/components/DownUpdateFile/index.jsx

+ 1 - 1
src/pages/Product/Lock/Lockstore/components/DownUpdateFile/index.jsx

@@ -9,7 +9,7 @@ const DownUpdateFile = ({ updateFile }) => {
   if (isNullOrUnDef(updateFile) || isEmpty(updateFile)) return null
   if (isNullOrUnDef(updateFile) || isEmpty(updateFile)) return null
   const handleDownExcel = () => {
   const handleDownExcel = () => {
     const oa = document.createElement('a')
     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')
     oa.setAttribute('target', '_blank')
     document.body.appendChild(oa)
     document.body.appendChild(oa)
     oa.click()
     oa.click()