js调用vue方法
1 js调用vueVuemounted: function () { window.wagedialog=this.wagedialog },methods: {wagedialog(item, parameter, spring_box) {if(item.button_position_sign=='wageFormadd'){this.popUp = true}else if(item.bu
·
1 js调用vue
Vue
mounted: function () { window.wagedialog=this.wagedialog },
methods: {
wagedialog(item, parameter, spring_box) {
if(item.button_position_sign=='wageFormadd'){
this.popUp = true
}else if(item.button_position_sign=='wageFormedit'){
this.dialogFormVisible = true
this.edit(parameter.id, parameter.name, parameter.type)
}
},
js方法
function dialog(item, parameter, spring_box){
if(item.button_position_sign=='wageFormedit'){
window.wagedialog(item, parameter, spring_box)
}
if(item.button_position_sign=='wageFormadd'){
window.wagedialog(item)
}
};
更多推荐
已为社区贡献2条内容
所有评论(0)