import { LightningElement } from 'lwc'; export default class LexAdvanceOpportunity extends LightningElement { save(){ blockme(); savebtn(); } refreshparent() { var hasError = j$(escapeVfId('allPage:allForm:hasError')).text(); if (hasError == 'false') { alert('保存成功'); //top.window.opener.reloadjs(); window.opener.top.location.reload(); window.open("/{!aoId}"); top.window.close(); } } }