|
@@ -120,7 +120,8 @@ export default {
|
|
|
|
|
|
<script setup>
|
|
|
import { reactive, ref, watch, onBeforeUnmount, nextTick } from 'vue'
|
|
|
- import { ElDatePicker } from 'element-plus'
|
|
|
+ import { ElDatePicker,ElMessage } from 'element-plus'
|
|
|
+ import 'element-plus/es/components/message/style/css'
|
|
|
import 'element-plus/es/components/date-picker/style/css'
|
|
|
import { ElCarousel, ElCarouselItem } from 'element-plus'
|
|
|
import 'element-plus/es/components/carousel/style/css'
|
|
@@ -202,11 +203,7 @@ export default {
|
|
|
playState.value=0
|
|
|
}
|
|
|
else {
|
|
|
- alert("此船舶该时段未查到轨迹点")
|
|
|
- this.$message({
|
|
|
- message:'此船舶该时段未查到轨迹点',
|
|
|
- type:'warning'
|
|
|
- });
|
|
|
+ ElMessage({type: 'warning',message:'此船舶该时段未查到轨迹点'})
|
|
|
}
|
|
|
|
|
|
})
|