From 043dda1a6d0f3f28ecc647d88ee2b96f2a3cba8d Mon Sep 17 00:00:00 2001 From: adiao <1819192616@qq.com> Date: Fri, 26 May 2023 09:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=9A=84=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin1/work/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/admin1/work/index.vue b/src/views/admin1/work/index.vue index 7c5ba1d..c852481 100644 --- a/src/views/admin1/work/index.vue +++ b/src/views/admin1/work/index.vue @@ -84,9 +84,15 @@ const addWork = async () => { // 在这里调用后端接口添加部门,然后刷新部门列表 // 例如:await addWorkAPI(addForm); +<<<<<<< HEAD const reslt = await addWork("/work/add", addForm); console.log(reslt); +======= + const rsl = await initWork('/work/add', addForm) + console.log(rsl); + +>>>>>>> 04aa138 (弹窗的请求) ElMessage.success("添加成功"); addDialogVisible.value = false; addForm.workId = "";