浏览代码

fix: 软件锁下载增加s

outaozhen 5 年之前
父节点
当前提交
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
   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()