删除多余函数

This commit is contained in:
dzl
2025-09-23 17:17:40 +08:00
parent baea20728e
commit 99c692b048

View File

@@ -504,13 +504,6 @@ const cities = computed(() => {
return Array.from(citySet).sort();
});
const filteredDistricts = computed(() => {
if (!registerForm.city) return [];
return regions.value.filter(
(region) => region.city_name === registerForm.city
);
});
// 自定义验证函数
const validateUsername = (rule, value, callback) => {
if (!value) {