更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-7
View File
@@ -1,10 +1,5 @@
import { request } from '@/api/request.js'
/**
* 账号管理(密码库)——记录个人各平台账号。
* 与 Web 端密码存储管理同一套数据(一个平台下挂多个账号)。
* 服务端自动过滤当前登录用户的记录,无需传 user_id。
*/
export function fetchPasswordStores(keyword) {
return request({
url: '/api/passwordStore/list',
@@ -44,7 +39,6 @@ export function deletePasswordStore(id) {
}).then(() => true)
}
/** 只取服务端接收的字段 */
function pickStore(data) {
return {
platform: data.platform || '',
@@ -59,7 +53,6 @@ function pickStore(data) {
}
}
/** 统一账号列表结构,避免后端缺字段导致渲染报错 */
function normalizeStore(item) {
const store = item || {}
return {