From 365915e37c90522e86a4661d15335c5172a66d6e Mon Sep 17 00:00:00 2001 From: dhb52 Date: Fri, 7 Apr 2023 14:42:45 +0000 Subject: [PATCH 01/16] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96FreePublic?= =?UTF-8?q?=E5=87=BA=E9=94=99&=E5=88=86=E9=A1=B5=E6=BA=A2=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dhb52 --- .../mp/components/wx-material-select/main.vue | 239 +++++++++--------- 1 file changed, 122 insertions(+), 117 deletions(-) diff --git a/src/views/mp/components/wx-material-select/main.vue b/src/views/mp/components/wx-material-select/main.vue index 4c477078b..ab3539740 100644 --- a/src/views/mp/components/wx-material-select/main.vue +++ b/src/views/mp/components/wx-material-select/main.vue @@ -5,127 +5,130 @@ ① 移除 avue 组件,使用 ElementUI 原生组件 --> @@ -173,7 +176,7 @@ export default defineComponent({ const newsTypeRef = ref(props.newsType) const selectMaterialFun = (item) => { - ctx.emit('selectMaterial', item) + ctx.emit('select-material', item) } /** 搜索按钮操作 */ const handleQuery = () => { @@ -203,9 +206,10 @@ export default defineComponent({ total.value = data.total loading.value = false } + const getFreePublishPageFun = async () => { let data = await getFreePublishPage(queryParams) - data.list.foreach((item) => { + data.list.forEach((item) => { const newsItem = item.content.newsItem newsItem.forEach((article) => { article.picUrl = article.thumbUrl @@ -232,6 +236,7 @@ export default defineComponent({ onMounted(async () => { getPage() }) + return { handleQuery, dateFormatter, From 7cc8d9067c368b57e23ac52e0c869e7e4bef5853 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 7 Apr 2023 23:26:09 +0800 Subject: [PATCH 02/16] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20swagger=E3=80=81drui?= =?UTF-8?q?d=E3=80=81skywalking=E3=80=81admin=20=E7=9A=84=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/auto-components.d.ts | 4 +++ src/views/infra/dbDoc/index.vue | 52 ++++++++++++---------------- src/views/infra/druid/index.vue | 20 +++++++++-- src/views/infra/server/index.vue | 21 +++++++++-- src/views/infra/skywalking/index.vue | 18 +++++++++- src/views/infra/swagger/index.vue | 20 +++++++++-- 6 files changed, 96 insertions(+), 39 deletions(-) diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index b707dd22d..c7ff571c3 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -56,10 +56,14 @@ declare module '@vue/runtime-core' { ElIcon: typeof import('element-plus/es')['ElIcon'] ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] ElInput: typeof import('element-plus/es')['ElInput'] + ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElLink: typeof import('element-plus/es')['ElLink'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] + ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] + ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSelect: typeof import('element-plus/es')['ElSelect'] diff --git a/src/views/infra/dbDoc/index.vue b/src/views/infra/dbDoc/index.vue index b15489c87..6b3e3f8b1 100644 --- a/src/views/infra/dbDoc/index.vue +++ b/src/views/infra/dbDoc/index.vue @@ -2,46 +2,38 @@ -
- - - + + 导出 HTML + + + 导出 Word + + + 导出 Markdown +
-