selectStyle页面提示信息颜色冲突问题
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user