mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-25 16:57:18 +08:00
优化:优化新增关键词 create => add
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -361,7 +361,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
listDeptTree({}).then((res) => {
|
||||
treeData.value = res.data;
|
||||
|
Reference in New Issue
Block a user