|
@@ -624,6 +624,9 @@ export default {
|
|
* */
|
|
* */
|
|
// 上传的文件监听
|
|
// 上传的文件监听
|
|
onchangeFile(file, fileList) {
|
|
onchangeFile(file, fileList) {
|
|
|
|
+ if(!this.form.systemFileList){
|
|
|
|
+ this.$set(this.form,'systemFileList',[])
|
|
|
|
+ }
|
|
if (file.guid) {
|
|
if (file.guid) {
|
|
let index = this.form.systemFileList.findIndex(item => {
|
|
let index = this.form.systemFileList.findIndex(item => {
|
|
return item.uid == file.uid
|
|
return item.uid == file.uid
|