后台管理页面用户管理新增用户问题修复
This commit is contained in:
@@ -233,7 +233,7 @@ const getUserTypeColor = (type: number) => {
|
||||
const fetchShopList = async () => {
|
||||
shopLoading.value = true
|
||||
try {
|
||||
const res = await adminShopApi.listShops()
|
||||
const res = await adminShopApi.listAllShops()
|
||||
shopList.value = res || []
|
||||
if (currentUserInfo && currentUserInfo.type !== 4 && currentUserInfo.shopId) {
|
||||
formState.shopId = currentUserInfo.shopId
|
||||
|
||||
Reference in New Issue
Block a user