|
@@ -574,18 +574,18 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
.then(res => {
|
|
|
- if (res.data.Code === 1 && res.data.url !== "") {
|
|
|
+ if (res.data.code === 0 && res.data.data.url !== "") {
|
|
|
this.$message.success(
|
|
|
"远程配置上传成功,配置链接已复制到剪贴板,有效期三个月望知悉"
|
|
|
);
|
|
|
|
|
|
// 自动填充至『表单-远程配置』
|
|
|
- this.form.remoteConfig = res.data.Url;
|
|
|
+ this.form.remoteConfig = res.data.data.url;
|
|
|
this.$copyText(this.form.remoteConfig);
|
|
|
|
|
|
this.dialogUploadConfigVisible = false;
|
|
|
} else {
|
|
|
- this.$message.error("远程配置上传失败:" + res.data.Message);
|
|
|
+ this.$message.error("远程配置上传失败: " + res.data.msg);
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {
|