|
@@ -292,6 +292,14 @@ export default defineComponent({
|
|
activeData.model = false;
|
|
activeData.model = false;
|
|
}, 4000);
|
|
}, 4000);
|
|
};
|
|
};
|
|
|
|
+ const setModelOpen1 = () => {
|
|
|
|
+ clearTimeout(activeData.timer);
|
|
|
|
+ closeToast();
|
|
|
|
+ activeData.model = true;
|
|
|
|
+ activeData.timer = setTimeout(() => {
|
|
|
|
+ activeData.model = false;
|
|
|
|
+ }, 4000);
|
|
|
|
+ };
|
|
|
|
|
|
// 双击
|
|
// 双击
|
|
const handleDbClick = (item: any) => {
|
|
const handleDbClick = (item: any) => {
|
|
@@ -755,7 +763,7 @@ export default defineComponent({
|
|
ref={(el: any) => data.videoItemRef = el}
|
|
ref={(el: any) => data.videoItemRef = el}
|
|
item={activeVideoItem.value}
|
|
item={activeVideoItem.value}
|
|
showModel={activeData.model}
|
|
showModel={activeData.model}
|
|
- onClose={setModelOpen}
|
|
|
|
|
|
+ onClose={setModelOpen1}
|
|
|
|
|
|
onCanplay={() => {
|
|
onCanplay={() => {
|
|
data.videoState = 'play'
|
|
data.videoState = 'play'
|