Blame view

website/src/views/concat/index.js 569 Bytes
wangtao authored
1
import pageInit from "../../minixs/pageInit.js";
2
import {recruit} from "./../../../assets/img/data/serviceSecond.js"
3 4 5
export default {
    name: 'home',
    template: '',
wangtao authored
6
    mixins:[pageInit],
7 8 9
    components: {},
    props: [],
    setup(props, {attrs, slots, emit}) {
10 11 12
        const {proxy} = Vue.getCurrentInstance()
        let recruitHot = Vue.ref();
        recruitHot.value = recruit().hot;
13
14 15 16 17 18 19 20
        let routerPath=(val)=>{
            proxy.$router.push('/recruit/'+val)
        }
        return{
            recruitHot,
            routerPath
        }
21 22 23
    }

}