Преглед изворни кода

Merge branch 'cpq-dev' of wangfan/adweb3-web into master

chenpeiqing пре 2 месеци
родитељ
комит
eb23f3e66a
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      src/views/adweb/site/components/SiteRelease.vue

+ 2 - 3
src/views/adweb/site/components/SiteRelease.vue

@@ -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 = '';