1、解决浏览器拦挡浏览器新窗口关上
newWin = window.open()
newWin.location = url
2、// 路由变动,则革除该控件
routerChange() {
this.$router.afterEach((to, from, next) => {
Object.assign(this.dataSetting, {t: new Date().getTime()})
})
},
3、// 新增加的一些字段 vue不自动更新 须要从新渲染数据
initFormData() {
let formData = this.openChapterLayer.formData
var x = JSON.parse(JSON.stringify(formData))
this.$set(this.openChapterLayer, 'formData', x)
},
4、git push origin 分支名 –force(强推分支)
WebStorm快捷键
2020最新JetBrains家族ide激活码(即时更新)
http://www.soft-hub.cn/articl…
发表回复