fix:修复panel导入后刷新失败的问题
This commit is contained in:
@@ -141,6 +141,7 @@
|
|||||||
this.$delete(url + '?seq='+this.importResult.seq).then(response=>{
|
this.$delete(url + '?seq='+this.importResult.seq).then(response=>{
|
||||||
if(response.code == 200 ){
|
if(response.code == 200 ){
|
||||||
this.$message({duration: 2000, type: 'success', message: this.$t("tip.saveSuccess")});
|
this.$message({duration: 2000, type: 'success', message: this.$t("tip.saveSuccess")});
|
||||||
|
this.$emit('afterImport')
|
||||||
}else{
|
}else{
|
||||||
this.$message.error(response.msg);
|
this.$message.error(response.msg);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
export-url="/panel/export"
|
export-url="/panel/export"
|
||||||
import-url="/panel/import"
|
import-url="/panel/import"
|
||||||
:params="filter"
|
:params="filter"
|
||||||
@afterImport="Refresh"
|
@afterImport="dateChange"
|
||||||
>
|
>
|
||||||
<template slot="optionZone">
|
<template slot="optionZone">
|
||||||
<button @click="addChart" :title="$t('overall.createChart')"
|
<button @click="addChart" :title="$t('overall.createChart')"
|
||||||
|
|||||||
Reference in New Issue
Block a user