上传文件
This commit is contained in:
parent
61a041c474
commit
223f796e30
|
|
@ -0,0 +1,18 @@
|
|||
FROM nginx:latest
|
||||
|
||||
RUN mkdir -p /zlpt-front
|
||||
|
||||
WORKDIR /zlpt-front
|
||||
|
||||
|
||||
COPY zrpt_front-sit/assets /zlpt-front/assets
|
||||
COPY zrpt_front-sit/favicon.ico /zlpt-front/favicon.ico
|
||||
COPY zrpt_front-sit/index.html /zlpt-front/index.html
|
||||
|
||||
RUN rm /usr/share/nginx/html/*
|
||||
|
||||
RUN cp -r /zlpt-front/* /usr/share/nginx/html/
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
@ -8,6 +8,8 @@ export {}
|
|||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCarousel: typeof import('element-plus/es')['ElCarousel']
|
||||
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭
|
|||
# VITE_proxyTarget = 'http://10.40.92.253:8080' # 牛 (个人中心 基础信息企业申请认证)
|
||||
|
||||
|
||||
|
||||
VITE_UPLOAD_URL='apiUpload
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@
|
|||
import { ref, nextTick } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { Base64 } from 'js-base64'
|
||||
|
||||
import {apiUpload} from "http/api/myInfo"
|
||||
const props = defineProps({
|
||||
actionUrl: {
|
||||
//上传的地址
|
||||
type: String,
|
||||
default: ''
|
||||
default: ""
|
||||
},
|
||||
width: {
|
||||
//上传的地址
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@
|
|||
<!-- 表格 -->
|
||||
<el-table
|
||||
:data="tableData"
|
||||
show-overflow-tooltip
|
||||
:header-cell-style="{
|
||||
background: '#3E98FF',
|
||||
color: '#fff'
|
||||
|
|
|
|||
Loading…
Reference in New Issue