This commit is contained in:
李志鹏
2025-10-30 15:00:29 +08:00
10 changed files with 38 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { onMounted, onUnmounted, reactive, toRefs, computed } from "vue";
import { onMounted, onUnmounted, reactive, toRefs, computed, onActivated } from "vue";
import SelectItem from "@/components/selectStyle/selectItem.vue";
import HeaderTitle from '@/components/HeaderTitle.vue'
import { useRouter } from 'vue-router'
@@ -35,7 +35,7 @@ const updateStyle = ({item,index})=>{
const toProduct = ()=>{
if(!generateStore.style.id && !generateStore.style.oldId){
showNotify({ message: 'Please select a style.', type:'warning' });
showNotify({ message: 'Please select a style.', type:'warning', color:'#fff', background:'#ff976a' });
return
}
if(generateStore.style.id){