Преглед изворни кода

Merge branch 'main' of https://git.cloucl.top/baiyun/smart-reader-vue3

Bsheng123 пре 6 месеци
родитељ
комит
0f70fd821b
1 измењених фајлова са 3 додато и 6 уклоњено
  1. 3 6
      src/views/system/user/index.vue

+ 3 - 6
src/views/system/user/index.vue

@@ -96,8 +96,7 @@ const handleBatchDelete = () => {
       <!-- 搜索表单 -->
     </div>
     <div class="operate-buttons">
-      <el-button size="default" type="primary" @click="userStore.dialogFo
-      rmVisible = true">
+      <el-button size="default" type="primary" @click="userStore.dialogFormVisible = true">
         <i class="el-icon-plus el-icon--left"></i>新增
       </el-button>
       <el-button size="default" type="danger" @click="handleBatchDelete">
@@ -123,12 +122,10 @@ const handleBatchDelete = () => {
           <el-table-column prop="createTime" label="创建时间" />
           <el-table-column fixed="right" label="操作" min-width="80">
             <template #default="{ row }">
-              <el-button link type="primary" size="small" @click="handleD
-              elete(row)">
+              <el-button link type="primary" size="small" @click="handleDelete(row)">
                 删除
               </el-button>
-              <el-button link type="primary" size="small" @click="handleE
-              dit(row)">
+              <el-button link type="primary" size="small" @click="handleEdit(row)">
                 修改
               </el-button>
             </template>