Merge pull request #6509 from dataease/dev

merge v1.18.12
This commit is contained in:
fit2cloudrd 2023-11-02 13:19:50 +08:00 committed by GitHub
commit 02c82f64bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 55 additions and 34 deletions

View File

@ -7,6 +7,11 @@
<a href="https://github.com/dataease/dataease"><img src="https://img.shields.io/github/stars/dataease/dataease?color=%231890FF&style=flat-square" alt="Stars"></a> <a href="https://github.com/dataease/dataease"><img src="https://img.shields.io/github/stars/dataease/dataease?color=%231890FF&style=flat-square" alt="Stars"></a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2F1dataease%2Fdataease?ref=badge_shield"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdataease%2Fdataease.svg?type=shield" alt="FOSSA Status"></a> <a href="https://app.fossa.com/projects/git%2Bgithub.com%2F1dataease%2Fdataease?ref=badge_shield"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdataease%2Fdataease.svg?type=shield" alt="FOSSA Status"></a>
</p> </p>
|说明|
|------------------|
|此分支为 DataEase v1.18 版本的开发分支。DataEase v2 版本的开发分支为 [dev-v2](https://github.com/dataease/dataease/tree/dev-v2)v2 版本正在快速迭代中,如是在生产环境部署 DataEase建议使用 v1.18.* 的最新稳定版本。|
<hr/> <hr/>
## 什么是 DataEase ## 什么是 DataEase

View File

@ -26,8 +26,17 @@
}, },
"dependencies": { "dependencies": {
"@antv/g2plot": "^2.4.9", "@antv/g2plot": "^2.4.9",
"@antv/l7": "^2.15.0", "@antv/l7": "2.15.0",
"@antv/s2": "^1.49.1", "@antv/l7-component": "2.15.0",
"@antv/l7-core": "2.15.0",
"@antv/l7-layers": "2.15.0",
"@antv/l7-maps": "2.15.0",
"@antv/l7-renderer": "2.15.0",
"@antv/l7-scene": "2.15.0",
"@antv/l7-source": "2.15.0",
"@antv/l7-utils": "2.15.0",
"@antv/s2": "1.49.1",
"@antv/util": "^2.0.17",
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"@tinymce/tinymce-vue": "^3.2.8", "@tinymce/tinymce-vue": "^3.2.8",
"axios": "^0.21.3", "axios": "^0.21.3",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -153,6 +153,7 @@
v-if="chart && showMapLayerController" v-if="chart && showMapLayerController"
:chart="chart" :chart="chart"
:series-id-map="seriesIdMap" :series-id-map="seriesIdMap"
:show-edit-position="showEditPosition"
/> />
</div> </div>

View File

@ -3,7 +3,7 @@
<img <img
v-if="!showLink" v-if="!showLink"
:style="imageAdapter" :style="imageAdapter"
:src="imgUrl" :src="element.propValue"
> >
<a <a
v-if="showLink" v-if="showLink"
@ -13,15 +13,13 @@
> >
<img <img
:style="imageAdapter" :style="imageAdapter"
:src="imgUrl" :src="element.propValue"
> >
</a> </a>
</div> </div>
</template> </template>
<script> <script>
import { imgUrlTrans } from '@/components/canvas/utils/utils'
export default { export default {
props: { props: {
element: { element: {
@ -35,9 +33,6 @@ export default {
} }
}, },
computed: { computed: {
imgUrl() {
return imgUrlTrans(this.element.propValue)
},
showLink() { showLink() {
return this.editMode === 'preview' && this.element && this.element.hyperlinks && this.element.hyperlinks.enable return this.editMode === 'preview' && this.element && this.element.hyperlinks && this.element.hyperlinks.enable
}, },

View File

@ -1,11 +1,12 @@
<template> <template>
<el-popover <el-popover
placement="left" placement="left-start"
title="" title=""
width="150" width="150"
:append-to-body="false" :append-to-body="false"
trigger="click" trigger="click"
:popper-class="showEditPosition === 'bar-main-preview' ? 'map-layer-poper' : ''"
> >
<i <i
slot="reference" slot="reference"
@ -51,6 +52,10 @@ export default {
id: '' id: ''
} }
} }
},
showEditPosition: {
type: String,
required: true
} }
}, },
data() { data() {
@ -98,9 +103,15 @@ export default {
} }
} }
</script> </script>
<style lang="scss">
.map-layer-poper {
top: 3px !important;
right: 80px !important;
left: auto !important;
}
</style>
<style scoped lang="scss"> <style scoped lang="scss">
.de-ul li { .de-ul li {
margin: 5px 2px; margin: 5px 2px;
cursor: pointer; cursor: pointer;