diff --git a/src/assets/imgs/home_tool_ic_sscj.png b/src/assets/imgs/home_tool_ic_sscj.png new file mode 100644 index 0000000000000000000000000000000000000000..437816487b3b7dc35b4bfaf62462c306f80c5515 Binary files /dev/null and b/src/assets/imgs/home_tool_ic_sscj.png differ diff --git a/src/components/general/upload_file.vue b/src/components/general/upload_file.vue index 4cc80c2ac2bb56589cf8a0eba42ca767f917e7d4..a30354a7773a08e449c80afbc6f99dc2c469568d 100644 --- a/src/components/general/upload_file.vue +++ b/src/components/general/upload_file.vue @@ -114,6 +114,19 @@ export default { }, watch: { list(value) { + this.getFileArray(value); + }, + }, + created() { + if (!this.unique) { + this.anotherData.uniqueCode = this.unique; + } + }, + mounted() { + this.getFileArray(this.list); + }, + methods: { + getFileArray(value) { var getListImg = []; if (value && value.length != 0) { for (var i = 0; i < value.length; i++) { @@ -126,13 +139,6 @@ export default { this.fileArray = [...getListImg]; this.hideUpload = this.fileArray.length >= this.max; }, - }, - created() { - if (!this.unique) { - this.anotherData.uniqueCode = this.unique; - } - }, - methods: { beforeAvatarUpload(file) { if (this.type == "mp3") { const isMP3 = file.type === "audio/mp3"; diff --git a/src/pages/workbench/fwzc_fwcs.vue b/src/pages/workbench/fwzc_fwcs.vue index 7dc225a3964f67c607f705a51eec43fc8c59d61c..f37d98bee662e7e7ac1be1081d64a7f36dcf52df 100644 --- a/src/pages/workbench/fwzc_fwcs.vue +++ b/src/pages/workbench/fwzc_fwcs.vue @@ -1,12 +1,12 @@