user.js 186 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 import request from '@/utils/request' function changePassword(id, password) { return request.patch(`/users/${id}/password`, { password }) } export default { changePassword }