feature: set is active API

This commit is contained in:
Cindy Chang committed 2024-06-27 10:36:19 +08:00
1 parent b12d026f0e
commit 21fb6f616a
5 files changed
+10395 -22

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ export default defineStore('acctMgmtStore', {
try{
const response = await this.$axios.put(apiEdit, {
username: editDetail.newUsername,
username: editDetail.newUsername ? editDetail.newUsername : editDetail.username,
password: editDetail.password,
name: editDetail.name,
is_active: editDetail.is_active,