소스 검색

fix: 解决设备清单中文乱码的问题;

liujia 2 달 전
부모
커밋
1d270619a8
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      deploy.ps1
  2. 0 0
      public/deviceTemplate.xlsx
  3. 1 1
      src/views/device/list/components/uploadDevice/index.vue

+ 1 - 1
deploy.ps1

@@ -5,7 +5,7 @@
 $sourceDir = "D:\project\ln-web\dist"
 $remoteUser = "liujia"
 $remoteIP = "43.137.10.199"
-$remotePath = "/home/liujia/src"
+$remotePath = "/work/web/src"
 $sshPort = 22
 # ====================
 

+ 0 - 0
public/设备清单.xlsx → public/deviceTemplate.xlsx


+ 1 - 1
src/views/device/list/components/uploadDevice/index.vue

@@ -214,7 +214,7 @@ const beforeUpload = (file: File) => {
 const downloadTemplate = () => {
   console.log('下载模板')
   const downloadLink = document.createElement('a')
-  downloadLink.href = `/设备清单.xlsx`
+  downloadLink.href = `/deviceTemplate.xlsx`
   downloadLink.download = '设备清单.xlsx'
   document.body.appendChild(downloadLink)
   downloadLink.click()