Vue.prototype
vue——自定义全局方法,在组件里面使用
Vue.prototype
vw和vh的使用
git提交代码
git status
git diff
git add -A
git commit -m "备注"
git提交代码
image.png
正则表达式的学习
let matches = /\/(\S+)\.git/g.exec(repositoryUrl);
注意点是get方法和post还有put方法不一样的处理
vue中自定义按钮组件为什么要加.native
.native就是指的是原生JavaScript事件,而不加native的话,需要通过组件的触发
ShortId能够创建惊奇的不重复的URL友好的标识符
res.locals.returns什么意思?
image.png
sequelize.define()
模型定义