|
@@ -191,7 +191,6 @@
|
|
.then(function (res) {
|
|
.then(function (res) {
|
|
loadingBtn.value = false;
|
|
loadingBtn.value = false;
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
- createMessage.success('检测成功,域名可用!');
|
|
|
|
spinning.value = true;
|
|
spinning.value = true;
|
|
tipTitle.value = '正在发布站点';
|
|
tipTitle.value = '正在发布站点';
|
|
let data = {
|
|
let data = {
|
|
@@ -200,10 +199,10 @@
|
|
siteCode: wpPublishForm.siteCode,
|
|
siteCode: wpPublishForm.siteCode,
|
|
};
|
|
};
|
|
let wpSiteReleaseUrl = `${url.wpSiteReleaseUrl}`;
|
|
let wpSiteReleaseUrl = `${url.wpSiteReleaseUrl}`;
|
|
- postAction(wpSiteReleaseUrl, data, 120000)
|
|
|
|
|
|
+ postActionForm(wpSiteReleaseUrl, data, 120000)
|
|
.then(function (res) {
|
|
.then(function (res) {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
- createMessage.success('发布成功!');
|
|
|
|
|
|
+ createMessage.success(res.message);
|
|
|
|
|
|
spinning.value = false;
|
|
spinning.value = false;
|
|
tipTitle.value = '';
|
|
tipTitle.value = '';
|