Pārlūkot izejas kodu

修改jenkinsfile

林倩 3 gadi atpakaļ
vecāks
revīzija
6e28e8d3e1
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      Jenkinsfile
  2. 1 1
      src/main.js

+ 1 - 1
Jenkinsfile

@@ -24,7 +24,7 @@ pipeline {
                     sh """rm -fr dist"""
                     color.PrintMes('执行npm打包','green')
                     //标准的打包命令.如有需要添加安装ui组件,请直接在对应位置(一般在node-sass 那加 && npm install 包名)
-                    build.Build('npm','rm -f package-lock.json && npm install && npm install node-sass && npm run build','master')
+                    build.Build('npm','rm -f package-lock.json && npm install && npm install node-sass && npm install xe-utils@3 vxe-table@3 && npm run build','master')
                 }
             }
         }

+ 1 - 1
src/main.js

@@ -71,7 +71,7 @@ import directives from "@/directive";
 
 import 'xe-utils'
 import VXETable from 'vxe-table'
-import 'vxe-table/lib/style.css'
+// import 'vxe-table/lib/style.css'
 
 Vue.use(VXETable)