From 5e46514f62bbe502dbf14d7a89312ef45fbf0caf Mon Sep 17 00:00:00 2001 From: NAS-Admin Date: Mon, 1 Jun 2026 09:30:30 +0900 Subject: [PATCH] feat(laptops): update default IP address prefix from 192.168. to 192.168.1. --- laptops.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/laptops.php b/laptops.php index 6a31a18..91d398d 100644 --- a/laptops.php +++ b/laptops.php @@ -477,7 +477,7 @@
@@ -855,7 +855,7 @@ this.isEdit = false; this.formData = { id: '', asset_tag: '', model_id: '', current_user_id: '', status: 'stock', - serial_number: '', purchase_date: new Date().toISOString().split('T')[0], last_confirmed_date: '', ip_address: '192.168.', + serial_number: '', purchase_date: new Date().toISOString().split('T')[0], last_confirmed_date: '', ip_address: '192.168.1.', cpu: '', npu: '', ram: '', hdd0_model: '', hdd0_capacity: '', hdd1_model: '', hdd1_capacity: '', asset_status: '', assigned_user_name: '', fixed_ip: '', options: '', power_rating: '', manufacturer: '', vendor: '', product_name: '', remarks: '', @@ -870,7 +870,7 @@ editAsset(asset) { this.isEdit = true; this.formData = { ...asset }; - if (!this.formData.ip_address) this.formData.ip_address = '192.168.'; + if (!this.formData.ip_address) this.formData.ip_address = '192.168.1.'; if (asset.current_user_id) { const user = this.allUsers.find(u => u.id == asset.current_user_id); this.userSearchQuery = user ? `${user.name} (${user.emp_id})` : asset.user_name;