|
@@ -2155,18 +2155,17 @@ export default {
|
|
|
// 政策导入成功钩子
|
|
|
successPolicy(res, file) {
|
|
|
this.openFullScreen(true)
|
|
|
-
|
|
|
if (res.data.message === "" && !res.data.message) {
|
|
|
- this.dataPolicy = res.data.list? [...res.data.list]: [];
|
|
|
+ this.dataPolicy = res.data.list? res.data.list: [];
|
|
|
this.policyIndex++;
|
|
|
} else {
|
|
|
- this.dataPolicy = res.data.list? [...res.data.list]: [];
|
|
|
+ this.dataPolicy = res.data.list? res.data.list: [];
|
|
|
this.policyIndex++;
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
message:res.data.message,
|
|
|
type: 'error',
|
|
|
- duration:200000,
|
|
|
+ duration:100000,
|
|
|
});
|
|
|
}
|
|
|
},
|