diff --git a/blossom-editor/src/renderer/src/components/WebCollect.vue b/blossom-editor/src/renderer/src/components/WebCollect.vue
index df698c1..c5b6303 100644
--- a/blossom-editor/src/renderer/src/components/WebCollect.vue
+++ b/blossom-editor/src/renderer/src/components/WebCollect.vue
@@ -6,18 +6,18 @@
-
+
-
+
-
+
-
+
-
+
@@ -27,26 +27,26 @@
-
+
-
+
-
+
-
-
-
+
删除
保存
@@ -54,10 +54,8 @@
右键点击卡片修改
-
-
+
+
Quick Access
@@ -65,10 +63,9 @@
{{ collect.title }}
-
-
-
+
+
+
{{ web.name }}
@@ -95,7 +92,7 @@ onActivated(() => {
const data = ref
([])
const getWebAll = () => {
- webAllApi().then(resp => {
+ webAllApi().then((resp) => {
let webs = [
{ title: 'Daily', webs: resp.data.daily },
{ title: 'Work', webs: resp.data.work },
@@ -117,19 +114,22 @@ const showForm = (updWeb?: any) => {
}
}
const closeForm = () => {
- saveFormStyle.value = { display: 'none' };
+ saveFormStyle.value = { display: 'none' }
}
const saveWeb = () => {
- webSaveApi(webForm.value).then(_resp => {
+ webSaveApi(webForm.value).then((_resp) => {
getWebAll()
closeForm()
})
}
const delWeb = () => {
ElMessageBox.confirm(`删除后将不可恢复, 是否确定删除[${webForm.value.name}]?`, {
- confirmButtonText: '确定删除', cancelButtonText: '我再想想', type: 'info', draggable: true,
+ confirmButtonText: '确定删除',
+ cancelButtonText: '我再想想',
+ type: 'info',
+ draggable: true
}).then(() => {
- webDelApi(webForm.value).then(_resp => {
+ webDelApi(webForm.value).then((_resp) => {
getWebAll()
closeForm()
})
@@ -140,14 +140,14 @@ const delWeb = () => {