selectStyle页面提示信息颜色冲突问题

This commit is contained in:
X1627315083
2025-10-30 14:29:13 +08:00
parent aad931182e
commit af02d59f1b
2 changed files with 4 additions and 4 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){