明梦爽
2021-11-06 c832daf074e1a452b4960a1aea347169fcb40fde
学校首页完成
1个文件已修改
19 ■■■■ 已修改文件
src/components/Home.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Home.vue
@@ -52,21 +52,19 @@
        {index:'banShiZhiNan',name:'办事指南'},
        {index:'kePu',name:'科普风采'},
        {index:'xueXiaoShouYe',name:'学校首页'},
        {index:'telephone',name:'联系我们'},
        { index: 'telephone', name: '联系我们' }
      ]
    }
  },
  created(){
  },
  mounted(){
  },
  watch:{
  },
  created() {},
  mounted() {},
  watch: {},
  methods: {
    handleSelect(key, keyPath) {
      // console.log(key, keyPath)
      console.log(key, keyPath)
      if (key == 'xueXiaoShouYe') {
        window.location.href = 'https://www.pdsu.edu.cn/#'
      } else {
      this.$router.push({
        path: '/home/' + key,
        query:{
@@ -76,6 +74,7 @@
    }
  }
}
}
</script>
<style lang="less" scoped>