diff --git a/src/App.vue b/src/App.vue index b9be4bcc..91f9b2de 100644 --- a/src/App.vue +++ b/src/App.vue @@ -83,7 +83,7 @@ - + @@ -94,12 +94,15 @@ import { } from '@/api/dictionary/dictionary' import { getTrialExtralConfig } from '@/api/trials' import feedBack from '@/views/trials/trials-layout/components/feedBack' -import timeTag from '@/components/timeTag' +// import timeTag from '@/components/timeTag' import Vue from 'vue' import i18n from './lang' export default { name: 'App', - components: { feedBack, timeTag }, + components: { + feedBack, + // timeTag + }, data() { return { drawer: false, diff --git a/src/views/system/notice/components/from.vue b/src/views/system/notice/components/from.vue index cc08001e..2e90fe43 100644 --- a/src/views/system/notice/components/from.vue +++ b/src/views/system/notice/components/from.vue @@ -1,109 +1,63 @@ @@ -178,7 +132,7 @@ export default { this.loading = true var file = await this.fileToBlob(param.file) const res = await this.OSSclient.put(`/System/NoticeAttachment/${param.file.name}`, file) - this.fileList.push({ name: param.file.name, path: this.$getObjectName(res.url), fullPath: this.$getObjectName(res.url), url: this.$getObjectName(res.url)}) + this.fileList.push({ name: param.file.name, path: this.$getObjectName(res.url), fullPath: this.$getObjectName(res.url), url: this.$getObjectName(res.url) }) this.form.Path = this.$getObjectName(res.url) this.form.FileName = param.file.name this.loading = false