src/views/system/user/index.vue
@@ -1878,6 +1878,10 @@ this.getlistHosp(); this.reset(); this.form = row; this.form = { ...row, deptId: row.deptId != null ? String(row.deptId) : null, // 👈 确保为字符串 }; if (this.form.hospId) { this.sendhospName(); }