From ad42eca847e750faef349751e71f5f4d427b2ce7 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Wed, 2 Nov 2022 11:12:47 +0800 Subject: [PATCH] feat: vxe demo --- yudao-ui-admin-vue3/index.html | 14 +++++++------- .../src/views/system/post/index.vue | 15 +++------------ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/yudao-ui-admin-vue3/index.html b/yudao-ui-admin-vue3/index.html index e25e20bd3..f55255d15 100644 --- a/yudao-ui-admin-vue3/index.html +++ b/yudao-ui-admin-vue3/index.html @@ -6,13 +6,13 @@ - + name="keywords" + content="芋道管理系统 基于 vue3 + CompositionAPI + typescript + vite + element plus 的后台开源免费管理系统!" + /> + <%= title %> diff --git a/yudao-ui-admin-vue3/src/views/system/post/index.vue b/yudao-ui-admin-vue3/src/views/system/post/index.vue index 8d068e020..c7b35b9c8 100644 --- a/yudao-ui-admin-vue3/src/views/system/post/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/post/index.vue @@ -34,9 +34,7 @@ const gridOptions = reactive({ }, toolbarConfig: { custom: true, - slots: { - buttons: 'toolbar_buttons' - } + slots: { buttons: 'toolbar_buttons' } }, printConfig: { columns: [ @@ -124,10 +122,7 @@ const gridOptions = reactive({ proxyConfig: { seq: true, // 启用动态序号代理(分页之后索引自动计算为当前页的起始序号) form: true, // 启用表单代理,当点击表单提交按钮时会自动触发 reload 行为 - props: { - result: 'list', - total: 'total' - }, + props: { result: 'list', total: 'total' }, ajax: { query: ({ page, form }) => { const queryParams: PostPageReqVO = Object.assign({}, form) @@ -142,11 +137,7 @@ const gridOptions = reactive({ }) const formData = ref() const formItems = ref([ - { - field: 'id', - title: 'id', - visible: false - }, + { field: 'id', title: 'id', visible: false }, { field: 'name', title: '岗位名称',