Skip to content

Commit

Permalink
improve: 优化编辑体验
Browse files Browse the repository at this point in the history
  • Loading branch information
lpdswing committed Apr 13, 2023
1 parent 8e21e04 commit deb552b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ node_modules
frontend/dist
.idea
.DS_Store
home.txt
menu.json
```
4 changes: 4 additions & 0 deletions frontend/src/components/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const edit = (row: main.PlatForm) => {
dialogVisible.value = true
dlgTitle.value = '编辑平台'
newRowData.id = row.id
newRowData.label = row.label
newRowData.url = row.url
};
const del = (row: main.PlatForm) => {
Expand Down Expand Up @@ -96,6 +98,8 @@ const closeDig = () => {
dlgTitle.value = '添加平台'
addRowFormRef.value?.resetFields()
newRowData.id = ''
newRowData.label = ''
newRowData.url = ''
}
// localstorage
Expand Down
1 change: 0 additions & 1 deletion home.txt

This file was deleted.

1 change: 0 additions & 1 deletion menu.json

This file was deleted.

0 comments on commit deb552b

Please sign in to comment.