This commit is contained in:
X1627315083
2025-10-24 15:18:23 +08:00
parent 6ff592208e
commit d5e8d00234
4 changed files with 40 additions and 37 deletions

View File

@@ -54,7 +54,7 @@ const updateStyle = ({item,index})=>{
const toProduct = ()=>{
console.log(generateStore.style)
if(generateStore.style.id == -1 && !generateStore.style.oldId){
if(!generateStore.style.id && !generateStore.style.oldId){
showNotify({ message: 'Please select a style.', type:'warning' });
return
}