Commit a19ef997 authored by 陈龙's avatar 陈龙

fix: 修复无法运行的问题

parents cc955925 da005211
Pipeline #59394 failed with stages
in 38 seconds
......@@ -16,21 +16,21 @@ before_script:
init:
stage: init
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- 'cd ${DEPLOY_PATH}/src/wisdom-components'
- dir
- git pull
- npm install
- npm install --registry=https://g.civnet.cn:4873/
bootstrap:
stage: bootstrap
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- 'cd ${DEPLOY_PATH}/src/wisdom-components'
- dir
build:
stage: build
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- 'cd ${DEPLOY_PATH}/src/wisdom-components'
- echo 开始打包...
- npm run site
- echo 打包完成
......@@ -38,7 +38,7 @@ build:
release:
stage: release
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- 'cd ${DEPLOY_PATH}/src/wisdom-components'
- echo 开始拷贝发布包...
- robocopy dist %DEPLOY_PATH%/dist /e || cmd /c "exit /b 0"
- 'robocopy "${DEPLOY_PATH}/src/wisdom-components/dist" "${DEPLOY_PATH}/dist" /S ; IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}'
- echo 发布完成.
......@@ -157,7 +157,7 @@
"js-export-excel": "^1.1.4",
"jszip": "^3.5.0",
"mqtt-client": "^1.0.12",
"parseForm": "0.0.8",
"parseForm": "1.0.0",
"sha1": "^1.1.1"
},
"size-limit": [
......
......@@ -9,7 +9,7 @@ group:
# PandaExportExcel Excel 表格导出
<code src="./demos/Base.tsx">
<code src="./demos/base.tsx">
## API
......
......@@ -26,6 +26,6 @@
"dependencies": {
"@babel/runtime": "^7.17.9",
"form-render": "^0.9.12",
"parseForm": "^0.0.8"
"parseForm": "^1.0.0"
}
}
import React, { useEffect, useState } from 'react';
import Empty from '@wisdom-components/Empty';
import Empty from '@wisdom-components/empty';
import RealTimeInfo from '../index';
import request from 'umi-request';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment