forked from github/dataease
refactor: 样式优化
This commit is contained in:
parent
7f1ad2133e
commit
a18d21c999
@ -353,10 +353,10 @@ const data = {
|
||||
Object.keys(params).forEach(function(sourceInfo) {
|
||||
// 获取外部参数的值 sourceInfo 是外部参数名称 支持数组传入
|
||||
let paramValue = params[sourceInfo]
|
||||
const operator = 'eq'
|
||||
let operator = 'in'
|
||||
if (paramValue && !Array.isArray(paramValue)) {
|
||||
paramValue = [paramValue]
|
||||
operator = 'in'
|
||||
operator = 'eq'
|
||||
}
|
||||
// 获取所有目标联动信息
|
||||
const targetInfoList = trackInfo[sourceInfo] || []
|
||||
|
@ -2,7 +2,6 @@
|
||||
<de-container v-loading="$store.getters.loadingMap[$store.getters.currentPath]" style="background-color: #f7f8fa">
|
||||
<de-main-container :class="{'full-height':fullHeightFlag}">
|
||||
<panel-main v-show="componentName==='PanelMain'" ref="panel_main" />
|
||||
<chart-edit v-if="componentName==='ChartEdit'" :param="param" />
|
||||
<panel-edit v-if="componentName==='PanelEdit'" />
|
||||
</de-main-container>
|
||||
</de-container>
|
||||
@ -18,7 +17,7 @@ import PanelEdit from '@/views/panel/edit'
|
||||
|
||||
export default {
|
||||
name: 'Panel',
|
||||
components: { DeMainContainer, DeContainer, PanelMain, ChartEdit, PanelEdit },
|
||||
components: { DeMainContainer, DeContainer, PanelMain, PanelEdit },
|
||||
data() {
|
||||
return {
|
||||
component: PanelMain,
|
||||
@ -33,7 +32,6 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
$route(to, from) {
|
||||
// 对路由变化作出响应...
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
Loading…
Reference in New Issue
Block a user