|
@@ -25,8 +25,10 @@ import InfoDetail from "../components/infoDetail.vue";
|
|
import infoList from "../components/infoList.vue";
|
|
import infoList from "../components/infoList.vue";
|
|
import InfoSample from "../components/infoSample.vue";
|
|
import InfoSample from "../components/infoSample.vue";
|
|
import * as career from "@/api/webApi/career-news";
|
|
import * as career from "@/api/webApi/career-news";
|
|
|
|
+import transferMixin from '@/components/mx-transfer-mixin'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
|
+ mixins:[transferMixin],
|
|
components: { infoList, InfoSample, InfoDetail },
|
|
components: { infoList, InfoSample, InfoDetail },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -45,6 +47,11 @@ export default {
|
|
const lastSubPath = subPaths[subPaths.length - 1]
|
|
const lastSubPath = subPaths[subPaths.length - 1]
|
|
const typeKey = lastSubPath.split("_")[lastSubPath.split("_").length - 1]
|
|
const typeKey = lastSubPath.split("_")[lastSubPath.split("_").length - 1]
|
|
this.type = this.category[typeKey]
|
|
this.type = this.category[typeKey]
|
|
|
|
+ let news = this.prevData?.news
|
|
|
|
+ if(news){
|
|
|
|
+ console.log(news)
|
|
|
|
+ this.detailList(news)
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
detailList(item) {
|
|
detailList(item) {
|