|
@@ -133,7 +133,7 @@ export default {
|
|
|
window.open(url);
|
|
|
},
|
|
|
back() {
|
|
|
- this.$router.push('/adminCenter/policy');
|
|
|
+ this.$router.push({ path: '/adminCenter/policy', query: { type: this.type } });
|
|
|
},
|
|
|
},
|
|
|
computed: {
|
|
@@ -141,6 +141,9 @@ export default {
|
|
|
id() {
|
|
|
return this.$route.query.id;
|
|
|
},
|
|
|
+ type() {
|
|
|
+ return this.$route.query.type;
|
|
|
+ },
|
|
|
},
|
|
|
metaInfo() {
|
|
|
return { title: this.$route.meta.title };
|