File tree 2 files changed +8
-28
lines changed
src/pages/download/components
2 files changed +8
-28
lines changed Original file line number Diff line number Diff line change @@ -65,26 +65,17 @@ const onClick = () => {
65
65
};
66
66
</script>
67
67
68
- <script>
69
- export default {
70
- data() {
71
- return { isVisible: false }
72
- }
73
- }
74
- </script>
75
-
76
68
<template>
77
69
<div>
78
70
<el-popover
79
71
:disabled="popoverData === undefined || dialogState"
80
72
:placement="popoverData?.placement"
81
73
:hide-after="0"
82
74
trigger="hover"
83
- :content="popoverData?.content"
84
- ref="whatsThisArchPopup"
85
- manual
86
- v-model="isVisible">
87
- <div @click="$refs.whatsThisArchPopup.hide()">{{ popoverData?.content }}</div>
75
+ ref="whatsThisArchPopup">
76
+ <div @click="$refs.whatsThisArchPopup.hide()">{{
77
+ popoverData?.content
78
+ }}</div>
88
79
<template #reference>
89
80
<button
90
81
:disabled="disabled"
Original file line number Diff line number Diff line change @@ -12,25 +12,14 @@ const props = defineProps({
12
12
const expand = ref (false );
13
13
</script >
14
14
15
- <script >
16
- export default {
17
- data () {
18
- return { isVisible: false }
19
- }
20
- }
21
- </script >
22
-
23
15
<template >
24
16
<div class =" flex flex-col gap-1" >
25
17
<div class =" leading-none" >
26
18
<span v-if =" title" class =" text-[10pt] font-[450]" >{{ title }}</span >
27
- <el-popover
28
- placement =" top"
29
- width =" 233"
30
- ref =" whatsThisArchLevelPopup"
31
- manual
32
- v-model =" isVisible" >
33
- <div @click =" $refs.whatsThisArchLevelPopup.hide()" >{{ description }}</div >
19
+ <el-popover placement =" top" width =" 233" ref =" whatsThisArchLevelPopup" >
20
+ <div @click =" $refs.whatsThisArchLevelPopup.hide()"
21
+ >{{ description }}
22
+ </div >
34
23
<template #reference >
35
24
<span class =" text-[8pt] font-[450]" >(这是什么?)</span >
36
25
</template >
You can’t perform that action at this time.
0 commit comments