refresh page bug All In One
refresh page bug All In One
button in form , refresh page bug

<el-form>
<button @click="checkWhetherFulfillRecommended">test</button>
</el-form>
<el-form>
...
</el-form>
<button @click="checkWhetherFulfillRecommended">test</button>
checkWhetherFulfillRecommended () {
// 请求接口
this.$confirm('所选定向和创意无推荐组合,请重新选择。', '提示', {
confirmButtonText: '确认',
cancelButtonText: '',
showCancelButton: false,
type: 'warning',
showClose: false,
}).then(() => {
// 预览
}).catch(() => {
// 停留在当前页面
});
// this.$alert('所选定向和创意无推荐组合,请重新选择。', '提示', {
// confirmButtonText: '确认',
// type: 'warning',
// showClose: false,
// callback: action => {
// // this.$message({
// // type: 'info',
// // message: `action: ${ action }`
// // });
// },
// });
},
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14479574.html
未经授权禁止转载,违者必究!

浙公网安备 33010602011771号