Explorar el Código

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

chenpeiqing hace 2 meses
padre
commit
eb23f3e66a
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  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) {
         loadingBtn.value = false;
         if (res.code === 200) {
-          createMessage.success('检测成功,域名可用!');
           spinning.value = true;
           tipTitle.value = '正在发布站点';
           let data = {
@@ -200,10 +199,10 @@
             siteCode: wpPublishForm.siteCode,
           };
           let wpSiteReleaseUrl = `${url.wpSiteReleaseUrl}`;
-          postAction(wpSiteReleaseUrl, data, 120000)
+          postActionForm(wpSiteReleaseUrl, data, 120000)
             .then(function (res) {
               if (res.code === 200) {
-                createMessage.success('发布成功!');
+                createMessage.success(res.message);
 
                 spinning.value = false;
                 tipTitle.value = '';