Explorar o código

fix: 修复添加租户无法选择应用问题

喵你个旺呀 hai 1 ano
pai
achega
887f9e0fcd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Web/src/views/system/tenant/component/editTenant.vue

+ 1 - 1
Web/src/views/system/tenant/component/editTenant.vue

@@ -144,7 +144,7 @@ const state = reactive({
 
 // 打开弹窗
 const openDialog = async (row: any) => {
-  if (state.appList.length == 0) state.appList = await getAPI(SysAppApi).apiSysAppChangeAppGet().then(res => res.data.result ?? []);
+  if (state.appList.length == 0) state.appList = await getAPI(SysAppApi).apiSysAppChangeAppGet().then(res => res.data.result?.selectList ?? []);
 	state.ruleForm = JSON.parse(JSON.stringify(row));
 	state.isShowDialog = true;
 	ruleFormRef.value?.resetFields();