diff --git a/jeecgboot-vue3-master/src/api/sys/user.ts b/jeecgboot-vue3-master/src/api/sys/user.ts index 20259eaf..479a1d46 100644 --- a/jeecgboot-vue3-master/src/api/sys/user.ts +++ b/jeecgboot-vue3-master/src/api/sys/user.ts @@ -60,8 +60,8 @@ export function getPathTreeApi(parentPath: string) { export function getDataListApi() { return defHttp.get({ url: Api.dataList }); } -type updPathPar = { name: string; logo: string; newsPage: string; recordNumber: string; copyright: string; certificate: string; composition: string } -export function updPathApi(params: updPathPar) { + +export function updPathApi(params) { return defHttp.post({ url: Api.updPath, params }); } diff --git a/jeecgboot-vue3-master/src/views/setPath/Modal.vue b/jeecgboot-vue3-master/src/views/setPath/Modal.vue index f61cdef5..92d8e016 100644 --- a/jeecgboot-vue3-master/src/views/setPath/Modal.vue +++ b/jeecgboot-vue3-master/src/views/setPath/Modal.vue @@ -14,7 +14,7 @@ const [register, { closeModal, setModalProps }] = useModalInner((data: any) => { }) const ifTree = ref(true) -// tree +// tree import { ref } from 'vue'; import type { TreeProps } from 'ant-design-vue'; const expandedKeys = ref([]); diff --git a/jeecgboot-vue3-master/src/views/setPath/index.vue b/jeecgboot-vue3-master/src/views/setPath/index.vue index 7ae49489..ff8e41d4 100644 --- a/jeecgboot-vue3-master/src/views/setPath/index.vue +++ b/jeecgboot-vue3-master/src/views/setPath/index.vue @@ -162,7 +162,7 @@ const handleValidate = (...args) => { -// 弹窗 +// 弹窗 const [register, { openModal }] = useModal(); function hanConPat(currentlySelecte, target) { formState[target] = currentlySelecte;