htc 3 天之前
父節點
當前提交
d5a73ad6f9
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/modules/advertising.vue

+ 2 - 0
src/views/modules/advertising.vue

@@ -194,6 +194,8 @@ export default {
           this.$http[this.advertForm.id ? 'put' : 'post']('/core/advertisement/manage', this.advertForm).then(res => {
             if (res.data.code !== 0) return this.$message.error(res.data.msg)
             this.$message.success('保存成功')
+            this.fileList = []
+            this.advertForm.fileUrl = ''
             this.cancel()
             this.getList()
           })