!function(){var e=global.tip,o=e.disAllowDismiss,l=require("nw.gui").Window.get();l.setAlwaysOnTop(!0);new Vue({el:"#root",data:{title:e.title?e.title:"温馨提示",msg:e.msg?e.msg:"",showCancel:e.showCancel,confirmText:e.confirmText?e.confirmText:"确定"},methods:{confirm:i=>{e.confirmCallback&&e.confirmCallback(),i.cancelBubble=!0,i.stopPropagation(),o||l.close()},cancel:()=>{l.close()}}})}();