From 2fad6c1700c6f94ec22f54e880c13f6b9fe58217 Mon Sep 17 00:00:00 2001
From: Echo <1711788888@qq.com>
Date: Mon, 8 Dec 2025 19:26:33 +0800
Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96=E5=88=86=E7=B1=BB?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E5=92=8C=E5=85=91=E6=8D=A2=E7=A0=81=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=EF=BC=88=E6=96=B0=E5=A2=9E=E5=88=86=E9=A1=B5=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/view/category/category/category.vue | 4 ++++
src/view/category/category/categoryForm.vue | 6 +++++-
src/view/cdk/cdkManage.vue | 9 +++------
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/view/category/category/category.vue b/src/view/category/category/category.vue
index f5874db..7bc6eda 100644
--- a/src/view/category/category/category.vue
+++ b/src/view/category/category/category.vue
@@ -75,6 +75,7 @@
{{ formatBoolean(scope.row.index) }}
+
{{ scope.row.isArticle === 1 ? '文章分类' : '非文章分类' }}
@@ -128,6 +129,9 @@
+
+
+
diff --git a/src/view/category/category/categoryForm.vue b/src/view/category/category/categoryForm.vue
index 0c72d35..38ec629 100644
--- a/src/view/category/category/categoryForm.vue
+++ b/src/view/category/category/categoryForm.vue
@@ -5,7 +5,7 @@
-
+
@@ -17,6 +17,9 @@
+
+
+
保存
@@ -58,6 +61,7 @@ const formData = ref({
active: false,
parentId: 0,
index:0,
+ url:'',
})
// 验证规则
const rule = reactive({
diff --git a/src/view/cdk/cdkManage.vue b/src/view/cdk/cdkManage.vue
index 01d9b84..12d0e1f 100644
--- a/src/view/cdk/cdkManage.vue
+++ b/src/view/cdk/cdkManage.vue
@@ -218,7 +218,7 @@
@@ -257,7 +257,7 @@
import { cdkList, addCdk, delCdk } from '@/api/cdk/index.js'
import { list as domainList } from '@/api/domain'
import vueQr from 'vue-qr/src/packages/vue-qr.vue'
-import { ref, onMounted, computed, watch } from 'vue'
+import { ref, onMounted, computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowLeft, CopyDocument } from '@element-plus/icons-vue'
@@ -266,9 +266,6 @@ defineOptions({
name: 'CdkManage'
})
-// 注册二维码组件(局部)
-const components = { vueQr }
-
const route = useRoute()
const router = useRouter()
@@ -309,7 +306,7 @@ const openShare = async (row) => {
shareDialogVisible.value = true
if (!domainOptions.value.length) {
try {
- const res = await domainList({ page: 1, pageSize: 1000 })
+ const res = await domainList({ page: 1, pageSize: 100 })
if (res.code === 0) {
domainOptions.value = res.data.list || []
}