|
@@ -19,7 +19,23 @@ import jsonp from "jsonp";
|
|
|
export default {
|
|
|
methods: {
|
|
|
back() {
|
|
|
- this.$router.back();
|
|
|
+ console.log(this.$route.name);
|
|
|
+ if (this.$route.name == 'kpsub_detail') {
|
|
|
+ this.$router.replace({
|
|
|
+ name:'kpsub_list'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ else if (this.$route.name == 'kpsub_list') {
|
|
|
+ this.$router.replace({
|
|
|
+ name:'keyproject'
|
|
|
+ });
|
|
|
+ } else if (this.$route.name == 'keyproject') {
|
|
|
+ this.$router.replace({
|
|
|
+ name:'Home'
|
|
|
+ });
|
|
|
+ } else{
|
|
|
+ this.$router.back();
|
|
|
+ }
|
|
|
localStorage.setItem("isShowWel", "1");
|
|
|
},
|
|
|
wxShare() {
|
|
@@ -93,7 +109,7 @@ export default {
|
|
|
position: fixed;
|
|
|
top: 16px;
|
|
|
left: 12px;
|
|
|
- z-index: 99;
|
|
|
+ z-index: 9999;
|
|
|
}
|
|
|
}
|
|
|
</style>
|