首页 > 其他 > 详细

Vue--小知识整理

时间:2020-02-15 19:03:45      阅读:52      评论:0      收藏:0      [点我收藏+]
 
1. 自动获取空间属性
el-input ref="xx"
$.refs[‘‘xx"].focus()
 
2.confirm确认框   
this.$confirm(‘<b>xxxxxx</b>:‘+this.temp.summary+‘<br/><b>yyyyyyyyyyy</b>:‘+apires, ‘确认信息‘, {
          distinguishCancelAndClose: true,
          dangerouslyUseHTMLString:true,
          confirmButtonText: ‘替换‘,
          cancelButtonText: ‘放弃‘
          
        })
          .then(() => {
            this.temp.summary=apires
          })
          .catch(action => { });

Vue--小知识整理

原文:https://www.cnblogs.com/mailaidedt/p/12312999.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!