|
|
@ -310,6 +310,7 @@ export default { |
|
|
|
const result = data.runResult |
|
|
|
const result = data.runResult |
|
|
|
this.$emit('cache') // 每次运行代码都要把代码传给后端做缓存 |
|
|
|
this.$emit('cache') // 每次运行代码都要把代码传给后端做缓存 |
|
|
|
this.loadIns.close() |
|
|
|
this.loadIns.close() |
|
|
|
|
|
|
|
this.picSrcList = [] |
|
|
|
if (photo) this.picSrcList = photo.split(',') |
|
|
|
if (photo) this.picSrcList = photo.split(',') |
|
|
|
this.$emit('update:codeId', res.codeId) // 更新coddeId |
|
|
|
this.$emit('update:codeId', res.codeId) // 更新coddeId |
|
|
|
this.$emit('update:answer', result) // 更新运行结果 |
|
|
|
this.$emit('update:answer', result) // 更新运行结果 |
|
|
|