houyaf il y a 3 ans
Parent
commit
c52bd443dc
1 fichiers modifiés avec 0 ajouts et 12 suppressions
  1. 0 12
      src/views/paas/atu/index.vue

+ 0 - 12
src/views/paas/atu/index.vue

@@ -64,10 +64,6 @@ const onAdd = () => {
   ModelObjectSelectorRef.value.showModel(moduleId, apiId)
 }
 
-const onEdit = (data: { atuId: number }) => {
-  window.console.log(data.atuId)
-}
-
 const onDelete = (data: { moduleId: number; apiId: number; atuId: number; objectTitle: string }) => {
   const { moduleId, apiId, atuId, objectTitle } = data
   ElMessageBox.confirm(`确认删除「${objectTitle}」吗?`, '确认信息').then(async () => {
@@ -163,14 +159,6 @@ function goBack() {
             <el-table-column label="操作" width="140" align="center" fixed="right">
               <template #default="scope">
                 <el-button-group>
-                  <el-button type="primary" size="small" plain @click="onEdit(scope.row)">
-                    <template #icon>
-                      <el-icon>
-                        <svg-icon name="i-ep:edit" />
-                      </el-icon>
-                    </template>
-                  </el-button>
-
                   <el-button type="danger" size="small" plain @click="onDelete(scope.row)">
                     <template #icon>
                       <el-icon>