xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-03-04 12:31  xgqfrms  阅读(47)  评论(0编辑  收藏  举报