linwe
2023-12-18 af37ee88ef6d9647fa2b368271dcf53f656ea4fa
src/views/article/article.vue
@@ -653,6 +653,7 @@
          };
          values.dateTime = null;
        }
        values.type = 0
        this.loading = true;
        getList(page.currentPage, page.pageSize, values).then((res) => {
          const data = res.data.data;
@@ -685,6 +686,17 @@
        } else {
          row.publish = "0";
        }
        if (row.url.length > 0) {
          var urls = []
          var split = row.url.split(",");
          split.forEach(url => {
            var names = url.split("jczz/");
            urls.push(names[1])
          })
          row.url = urls.join(",")
        }
        update(row).then(
          () => {
            this.onLoad(this.page);