| | |
| | | >
|
| | | <div class="tab-content">
|
| | | <div class="action-bar">
|
| | | <file-uploader
|
| | | <FileUploader
|
| | | single
|
| | | tip
|
| | | tipWords="上传算法"
|
| | |
| | | <div class="list-choose-item-left">
|
| | | <div class="list-complete-item-handle">
|
| | | <div class="alg-icon svg-wrap">
|
| | | |
| | | <div
|
| | | class="mask"
|
| | | v-if="!item.isDefault || item.isUpgrade"
|
| | |
| | | this.showInstallNotActive = false;
|
| | | this.isActive = true;
|
| | | } else if (type == "activeNotInstall") {
|
| | | debugger
|
| | | debugger;
|
| | | this.showInputCode = false;
|
| | | this.isActive = false;
|
| | | this.showInstallNotActive = true;
|
| | |
| | | this.isInstall = false;
|
| | | this.$message({
|
| | | type: "success",
|
| | | message: '安装成功,将跳转至“已激活”中查看',
|
| | | message: "安装成功,将跳转至“已激活”中查看",
|
| | | });
|
| | | setTimeout(() => {
|
| | | this.getAllSdk();
|
| | |
| | | this.isUpgrading = !this.isUpgrading;
|
| | | let _this = this;
|
| | | if (this.productDetail.productTypeName == "应用") {
|
| | | debugger
|
| | | debugger;
|
| | | installApp({ path: this.productDetail.productBaseId })
|
| | | .then((res) => {
|
| | | if (res && res.success) {
|
| | |
| | | // 开启自动刷新
|
| | | this.appUpgreading = true;
|
| | | } else {
|
| | | debugger
|
| | | debugger;
|
| | | downloadSdk({ path: this.productDetail.productBaseId })
|
| | | .then((res) => {
|
| | | this.needToUpgradeInWin = false;
|