Преглед изворни кода

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

喵你个旺呀 пре 1 година
родитељ
комит
887f9e0fcd
1 измењених фајлова са 1 додато и 1 уклоњено
  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();