| | |
| | | <div class="tools-icon no-hover-style"> |
| | | <img |
| | | class="smart-ai" |
| | | :src="`${publicPath}images/desktop/header-icon/SmartAI.png`" |
| | | :src="`${publicPath}images/desktop/header-icon/SmartAI-新.png`" |
| | | alt |
| | | /> |
| | | </div> |
| | |
| | | }); |
| | | this.askSysUpdate(); |
| | | this.askAppUpdate(); |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | askAppUpdate() { |
| | |
| | | }, |
| | | goToUpdate() { |
| | | this.showAppRemind = false; |
| | | window.parent.postMessage({ msg: `toAI?activeName=update` }, "*"); |
| | | window.parent.postMessage({ msg: `toAI?activeName=更新` }, "*"); |
| | | }, |
| | | goToWireSet() { |
| | | window.parent.postMessage( |
| | |
| | | { msg: `toVindicate?autoUpdate=1` }, |
| | | "*" |
| | | ); |
| | | // this.upgrading = true; |
| | | // upgradeNewVersion() |
| | | // .then((res) => { |
| | | // if (res.code == 200) { |
| | | // this.upgrading = true; |
| | | |
| | | // this.$notify.success("更新版本成功"); |
| | | // this.showSysRemind = false; |
| | | // } |
| | | // }) |
| | | // .catch((err) => { |
| | | // this.$notify.error("更新版本失败"); |
| | | // }); |
| | | }, |
| | | delaySysRemind(sec) { |
| | | delayUpgradeNotice({ |
| | |
| | | margin: auto; |
| | | } |
| | | .tools .tools-left { |
| | | width: 200px; |
| | | width: 275px; |
| | | height: 100%; |
| | | float: left; |
| | | margin-left: 14px; |
| | |
| | | height: 100%; |
| | | margin-right: 14px; |
| | | } |
| | | |
| | | .smart-ai { |
| | | height: 65%; |
| | | } |
| | | |
| | | .el-dropdown-menu { |
| | | top: 40px !important; |
| | | } |