Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/FiDA_Front
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="my-textTools">
|
||||
<input class="color" type="color" ref="colorInput" @change="changeColor" />
|
||||
<input class="color" type="color" v-model="textStyle['--font-color']" ref="colorInput" @change="changeColor" />
|
||||
<div class="interval"></div>
|
||||
<div class="fontFamily">
|
||||
<my-select v-model="textStyle['--font-family']" @change="changeFontFamily" :list="fontFamilyList[locale]" >
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
v-model:visible="item.visible"
|
||||
>
|
||||
<template #reference>
|
||||
<span @click.stop="item.visible = !item.visible" class="icon">
|
||||
<span @click.stop="openPopover(item)" class="icon">
|
||||
<svg-icon name="more" size="16" />
|
||||
</span>
|
||||
</template>
|
||||
@@ -207,6 +207,12 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
const openPopover = (item: any) => {
|
||||
list.value.forEach((item: any) => {
|
||||
item.visible = false
|
||||
})
|
||||
item.visible = !item.visible
|
||||
}
|
||||
onMounted(() => {
|
||||
MyEvent.add('newTitle', replaceTitle)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user