From 1f8ecd575692236f2e6fd5d102b484f1df8dff9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Fri, 8 Sep 2023 18:36:16 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:ui=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/article/articleCategory.vue | 18 +++++++++--------- src/views/system/post/index.vue | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/system/article/articleCategory.vue b/src/views/system/article/articleCategory.vue index cb4a367..cc4d17b 100644 --- a/src/views/system/article/articleCategory.vue +++ b/src/views/system/article/articleCategory.vue @@ -50,8 +50,8 @@ :default-expand-all="isExpandAll" row-key="categoryId" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> - - + + @@ -112,7 +112,7 @@ import { delArticleCategory, updateArticleCategory, getArticleCategory, - exportArticleCategory, + exportArticleCategory } from '@/api/article/articlecategory.js' const { proxy } = getCurrentInstance() @@ -143,7 +143,7 @@ const queryParams = reactive({ pageNum: 1, pageSize: 10, sort: undefined, - sortType: undefined, + sortType: undefined }) // 弹出层标题 const title = ref('') @@ -155,8 +155,8 @@ const open = ref(false) const state = reactive({ form: {}, rules: { - name: [{ required: true, message: '目录名不能为空', trigger: 'blur' }], - }, + name: [{ required: true, message: '目录名不能为空', trigger: 'blur' }] + } }) const { form, rules } = toRefs(state) @@ -190,7 +190,7 @@ function cancel() { function reset() { form.value = { name: undefined, - parentId: 0, + parentId: 0 } proxy.resetForm('formRef') } @@ -237,7 +237,7 @@ function handleUpdate(row) { opertype.value = 2 form.value = { - ...data, + ...data } } }) @@ -281,7 +281,7 @@ function handleExport() { .$confirm('是否确认导出所有文章目录数据项?', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', - type: 'warning', + type: 'warning' }) .then(function () { return exportArticleCategory(queryParams) diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index 8e106bf..8d67d45 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -40,16 +40,16 @@ - + - + - +