随笔分类 - vue
摘要:一、Vue引入 /* 工具 */ import { DAY_DEGREE_OPEIONS } from "../config/BattleMap.js"; import { currentMonthHasDay } from "../tools/utils"; /* 组件 */ import Add
阅读全文
摘要:编程式导航:通过JavaScript形式的API实现导航的方式,叫做编程式导航 例如:普通页面的 location.href this.$router.push("hash地址"); 跳到指定的页面 $router.push("/home"); 字符串 $router.push({path:"/ho
阅读全文