From f35f79973cef220b10189ff89bafdff407001eab Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 4 Mar 2022 11:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=9B=BE=E7=89=87=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/codemirror.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index dc2d8d8..3d011d4 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -310,6 +310,7 @@ export default { const result = data.runResult this.$emit('cache') // 每次运行代码都要把代码传给后端做缓存 this.loadIns.close() + this.picSrcList = [] if (photo) this.picSrcList = photo.split(',') this.$emit('update:codeId', res.codeId) // 更新coddeId this.$emit('update:answer', result) // 更新运行结果