摘要:
vue项目中带eslint校验,在提交代码时遇到报错。虽然这样写起来项目很规范,有时候觉得很烦。需要关闭git提交时校验 在项目里面新建.eslintignore文件,在里面忽略就行,例如忽略src文件 项目目录: 忽略代码: 这样就能重新提交代码啦! 阅读全文
摘要:
文件预览: <el-dialog :visible.sync="imgDialog " :close-on-click-modal="false" :before-close="closeImg" append-to-body width="1100px" > <div slot="title" c 阅读全文
摘要:
文件下载的实现,这个点在做的时候调用到了技术中台的接口 // 影像上传下载接口调技术中台的 export function getDownUrl(objectId) { return requestExport({ url: `/tc-storage-service/obj/storage/down 阅读全文
摘要:
实现文件上传 把文件上传封装成一个组件: <template v-if="fileId"> <el-tag :closable="dealerStatus !== '2'" @close="deleteFile(fileId)"> {{ fileName }} </el-tag> </templat 阅读全文