feat:修正首页alert显示时机

This commit is contained in:
samwaf
2023-12-27 19:01:57 +08:00
parent 4fc0715dd0
commit d2e7fbc72a
+2 -2
View File
@@ -4,8 +4,8 @@
<template>
<div>
<t-swiper :duration="300" :interval="5000" :navigation="navigation" v-if="tipsVisable" trigger="click">
<t-swiper-item v-for="(item, index) in tips" :key="index">
<t-alert :theme="item.tipsType" :message="item.message" v-if="item.visable" >
<t-swiper-item v-for="(item, index) in tips" :key="index" v-if="item.visable" >
<t-alert :theme="item.tipsType" :message="item.message" >
<template #operation="row">
<span @click="handleCreateWebOperation" v-if="item.name==='emptyHost'" >马上创建</span>
<span @click="handleModifyDefaultPassWebOperation" v-if="item.name==='defaultAccount'" >马上修改</span>