컬러 없을 때
This commit is contained in:
parent
142b576804
commit
358f4a343a
@ -257,7 +257,9 @@
|
|||||||
const formReset = () => {
|
const formReset = () => {
|
||||||
|
|
||||||
name.value = '';
|
name.value = '';
|
||||||
color.value = colorList.value[0].value;
|
if (colorList.value && colorList.value.length > 0) {
|
||||||
|
color.value = colorList.value[0].value;
|
||||||
|
}
|
||||||
addressData.value = {
|
addressData.value = {
|
||||||
postcode: '',
|
postcode: '',
|
||||||
address: '',
|
address: '',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user