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