This commit is contained in:
gotoeasy 2023-11-13 20:25:23 +08:00
parent bd81cd0cad
commit ca3809231f

View File

@ -213,7 +213,7 @@ onMounted(() => {
//
$post('/v1/store/systems', {}, null, { 'Content-Type': 'application/x-www-form-urlencoded' }).then(rs => {
if (rs.success) {
if (rs.success && rs.result?.length) {
for (let i = 0; i < rs.result.length; i++) {
systemSet.add(rs.result[i]);
systemSet.add(rs.result[i]) && systemOptions.value.push({ value: rs.result[i], label: rs.result[i] });