| | |
| | | });
|
| | | setTimeout(() => {
|
| | | this.getAllSdk();
|
| | | debugger
|
| | | window.parent.postMessage(
|
| | | {
|
| | | msg: "AppUpdate",
|
| | |
| | | app.installLoading = false;
|
| | | }
|
| | | // _this.getAllApps();
|
| | | debugger
|
| | |
|
| | | window.parent.postMessage(
|
| | | {
|
| | | msg: "AppUpdate",
|
| | |
| | |
|
| | | this.appUpgreading = true;
|
| | | }
|
| | | |
| | |
|
| | | if (obj.upgradeDone) {
|
| | | this.$notify({
|
| | | this.$notify({
|
| | | type: "success",
|
| | | message:1 ? "算法安装成功" : "算法升级成功",
|
| | | message: 1 ? "算法安装成功" : "算法升级成功",
|
| | | });
|
| | | }
|
| | | |
| | |
|
| | | item.installed ? iArry.push(obj) : sArry.push(obj);
|
| | | item.isUpgrade && nArry.push(obj);
|
| | | });
|
| | |
| | | if (res && res.success) {
|
| | | app.unloadLoading = false;
|
| | | _this.getAllApps();
|
| | | debugger
|
| | |
|
| | | window.parent.postMessage(
|
| | | {
|
| | | msg: "AppUpdate",
|
| | |
| | | type: "success",
|
| | | });
|
| | | _this.getAllSdk();
|
| | | debugger
|
| | |
|
| | | window.parent.postMessage(
|
| | | {
|
| | | msg: "AppUpdate",
|
| | |
| | | // type: "success",
|
| | | // message: typ == 1 ? "算法安装成功" : "算法升级成功",
|
| | | // });
|
| | | // window.parent.postMessage(
|
| | | // { msg: `refreshDesk?` },
|
| | | // "*"
|
| | | // );
|
| | | window.parent.postMessage(
|
| | | {
|
| | | msg: "AppUpdate",
|
| | | },
|
| | | "*"
|
| | | );
|
| | | {
|
| | | msg: "AppUpdate",
|
| | | },
|
| | | "*"
|
| | | );
|
| | | })
|
| | | .catch((err) => {
|
| | | this.$notify({
|