Compare commits

..

No commits in common. "0d27ec1139d61d978079824e6823d2ce4a368443" and "acd9cad23f4397c32d18b1bba9739d0c4f3b34a5" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -3,10 +3,10 @@
<el-card class="form-container" shadow="hover">
<el-row>
<el-col :span="6">
<el-text class="mx-1" type="primary">用户</el-text>
<el-text class="mx-1" type="primary">用户</el-text>
</el-col>
<el-col :span="18">
<el-input v-model="name" placeholder="请输入称" />
<el-input v-model="name" placeholder="请输入称" />
</el-col>
</el-row>
<el-row style="margin-top: 20px;">
@ -51,10 +51,10 @@
</el-row>
<el-row style="margin-top: 20px;">
<el-col :span="6">
<el-text class="mx-1" type="primary">部门</el-text>
<el-text class="mx-1" type="primary">组织</el-text>
</el-col>
<el-col :span="18">
<el-input v-model="organization" placeholder="请输入部门" />
<el-input v-model="organization" placeholder="请输入组织" />
</el-col>
</el-row>
<el-row style="margin-top: 20px;">

View File

@ -161,7 +161,7 @@ export default defineComponent({
const handleDelete = async () => {
try {
await userService.delete(formData.value);
ElMessage.success("删除成功")
ElMessage.error("删除成功")
await fetchData();
} catch (error) {
ElMessage.error("删除失败")