2018年4月28日

js实现右击

摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #menu { height: 200px; width: 50px; border: 1px solid gra 阅读全文

posted @ 2018-04-28 15:53 王子乔 阅读(233) 评论(0) 推荐(0)

this.$router

摘要: router.go(n)这个方法的参数是一个整数,意思是在 history 记录中向前或者后退多少步,类似 window.history.go(n) router.push(location)想要导航到不同的 URL,则使用 router.push 方法。这个方法会向 history 栈添加一个新的 阅读全文

posted @ 2018-04-28 14:45 王子乔 阅读(220) 评论(0) 推荐(0)

npm run dev 自动打开浏览器

摘要: 修改配置: config - index.js - autoOpenBrowser: true 阅读全文

posted @ 2018-04-28 09:39 王子乔 阅读(3053) 评论(0) 推荐(1)

导航