From 1cfc9e0841f7416dfa504da735f7f0de6798cd72 Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 21 May 2024 15:02:30 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=8F=AF=E4=BB=A5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=82=AE=E7=AE=B1=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pusher.js | 4 ++ src/constants/pusher.js | 8 +--- src/views/Pusher/index.vue | 93 ++++++++++++++++++++++---------------- vite.config.js | 14 ++++++ 4 files changed, 74 insertions(+), 45 deletions(-) diff --git a/src/api/pusher.js b/src/api/pusher.js index 025d50d..c7b046f 100644 --- a/src/api/pusher.js +++ b/src/api/pusher.js @@ -8,4 +8,8 @@ export const ListPushers = (query) => { export const AddPusher = (opt)=>{ return pushers.post(opt) +} + +export const ListPusherOptions = ()=>{ + return pushers.get('options') } \ No newline at end of file diff --git a/src/constants/pusher.js b/src/constants/pusher.js index 24af822..7cebd69 100644 --- a/src/constants/pusher.js +++ b/src/constants/pusher.js @@ -1,10 +1,4 @@ export const PUSHER = { ANPUSHER: 1, + EMAIL:2 } - -export const WEBSITE_OPTIONS = [ - { - label: 'anPush', - value: PUSHER.ANPUSHER - } -] \ No newline at end of file diff --git a/src/views/Pusher/index.vue b/src/views/Pusher/index.vue index d0580c0..d84b9dd 100644 --- a/src/views/Pusher/index.vue +++ b/src/views/Pusher/index.vue @@ -13,10 +13,7 @@