this.$confirm实现换行

        //     const newDatas = ['是否确认导出id为',]
        //     const h = this.$createElement
        //     for (const i in this.ids) {
        //         console.log('this.ids[i]',this.ids[i]);
        //         newDatas.push(h('p', null, this.ids[i]))
        //     }
        //     newDatas.push('的运维建议?')
        //     this.$confirm('提示',{title: '提示',
        //         message: h('div', null, newDatas),
        //         showCancelButton: true,
        //         confirmButtonText: "确定",
        //         cancelButtonText: "取消",
        //         type: 'warning'}
        //     ).then(function() {
        //         return exportPost(postIds);
        //     }).then(response => {
        //         this.download(response.msg);
        //     })

 

posted @ 2022-10-20 11:43  安琪吖  阅读(919)  评论(0编辑  收藏  举报