Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
0b45a14e
提交
0b45a14e
authored
11月 04, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v1.4' of github.com:dataease/dataease into v1.4
上级
73c95317
46cd2128
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
69 行增加
和
22 行删除
+69
-22
index.vue
frontend/src/components/DeDrag/index.vue
+1
-1
Preview.vue
frontend/src/components/canvas/components/Editor/Preview.vue
+5
-1
index.vue
frontend/src/components/canvas/components/Editor/index.vue
+19
-9
UserView.vue
frontend/src/components/canvas/custom-component/UserView.vue
+2
-2
snapshot.js
frontend/src/components/canvas/store/snapshot.js
+5
-1
style.js
frontend/src/components/canvas/utils/style.js
+2
-1
cron.vue
frontend/src/components/cron/cron.vue
+3
-3
en.js
frontend/src/lang/en.js
+1
-0
tw.js
frontend/src/lang/tw.js
+1
-0
zh.js
frontend/src/lang/zh.js
+1
-0
index.vue
frontend/src/views/panel/LinkJumpSet/index.vue
+8
-0
PanelRefreshTime.vue
...iews/panel/SubjectSetting/PanelStyle/PanelRefreshTime.vue
+12
-3
index.vue
frontend/src/views/panel/edit/index.vue
+4
-0
PanelList.vue
frontend/src/views/panel/list/PanelList.vue
+2
-0
panel.js
frontend/src/views/panel/panel.js
+3
-1
没有找到文件。
frontend/src/components/DeDrag/index.vue
浏览文件 @
0b45a14e
...
@@ -1603,7 +1603,7 @@ export default {
...
@@ -1603,7 +1603,7 @@ export default {
style
.
height
=
height
style
.
height
=
height
style
.
rotate
=
this
.
rotate
style
.
rotate
=
this
.
rotate
// this.hasMove = true
// this.hasMove = true
console
.
log
(
'recordMatrixCurShadowStyle:t1:'
+
JSON
.
stringify
(
style
))
//
console.log('recordMatrixCurShadowStyle:t1:' + JSON.stringify(style))
this
.
$store
.
commit
(
'setShapeStyle'
,
style
)
this
.
$store
.
commit
(
'setShapeStyle'
,
style
)
...
...
frontend/src/components/canvas/components/Editor/Preview.vue
浏览文件 @
0b45a14e
...
@@ -175,7 +175,11 @@ export default {
...
@@ -175,7 +175,11 @@ export default {
this
.
timer
&&
clearInterval
(
this
.
timer
)
this
.
timer
&&
clearInterval
(
this
.
timer
)
let
refreshTime
=
300000
let
refreshTime
=
300000
if
(
this
.
canvasStyleData
.
refreshTime
&&
this
.
canvasStyleData
.
refreshTime
>
0
)
{
if
(
this
.
canvasStyleData
.
refreshTime
&&
this
.
canvasStyleData
.
refreshTime
>
0
)
{
refreshTime
=
this
.
canvasStyleData
.
refreshTime
*
60000
if
(
this
.
canvasStyleData
.
refreshUnit
===
'second'
)
{
refreshTime
=
this
.
canvasStyleData
.
refreshTime
*
1000
}
else
{
refreshTime
=
this
.
canvasStyleData
.
refreshTime
*
60000
}
}
}
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
this
.
searchCount
++
this
.
searchCount
++
...
...
frontend/src/components/canvas/components/Editor/index.vue
浏览文件 @
0b45a14e
<
template
>
<
template
>
<div
<div
v-if=
"editShow"
id=
"editor"
id=
"editor"
class=
"editor"
class=
"editor"
:class=
"[
:class=
"[
...
@@ -338,7 +339,7 @@ function recalcCellWidth() {
...
@@ -338,7 +339,7 @@ function recalcCellWidth() {
}
}
function
init
()
{
function
init
()
{
console
.
log
(
'init
'
)
// console.log('init-cellWidth
')
this
.
cellWidth
=
this
.
baseWidth
+
this
.
baseMarginLeft
this
.
cellWidth
=
this
.
baseWidth
+
this
.
baseMarginLeft
this
.
cellHeight
=
this
.
baseHeight
+
this
.
baseMarginTop
this
.
cellHeight
=
this
.
baseHeight
+
this
.
baseMarginTop
this
.
yourList
=
this
.
getList
()
this
.
yourList
=
this
.
getList
()
...
@@ -943,7 +944,8 @@ export default {
...
@@ -943,7 +944,8 @@ export default {
positionBoxInfoArray
:
[],
positionBoxInfoArray
:
[],
yourList
:
[],
yourList
:
[],
linkJumpSetVisible
:
false
,
linkJumpSetVisible
:
false
,
linkJumpSetViewId
:
null
linkJumpSetViewId
:
null
,
editShow
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -993,7 +995,7 @@ export default {
...
@@ -993,7 +995,7 @@ export default {
'editor'
,
'editor'
,
'linkageSettingStatus'
,
'linkageSettingStatus'
,
'curLinkageView'
,
'curLinkageView'
,
'
s
napshotIndex'
'
doS
napshotIndex'
])
])
},
},
watch
:
{
watch
:
{
...
@@ -1035,6 +1037,7 @@ export default {
...
@@ -1035,6 +1037,7 @@ export default {
// 初始化时componentData 加载可能出现慢的情况 此时重新初始化一下matrix
// 初始化时componentData 加载可能出现慢的情况 此时重新初始化一下matrix
if
(
newVal
.
length
!==
this
.
lastComponentDataLength
)
{
if
(
newVal
.
length
!==
this
.
lastComponentDataLength
)
{
this
.
lastComponentDataLength
=
newVal
.
length
this
.
lastComponentDataLength
=
newVal
.
length
// console.log('.initMatrix2')
this
.
initMatrix
()
this
.
initMatrix
()
}
}
},
},
...
@@ -1047,9 +1050,10 @@ export default {
...
@@ -1047,9 +1050,10 @@ export default {
deep
:
true
deep
:
true
},
},
// 镜像索引有变化 刷新一下矩阵(撤销重做等)
// 镜像索引有变化 刷新一下矩阵(撤销重做等)
s
napshotIndex
:
{
doS
napshotIndex
:
{
handler
(
newVal
,
oldVla
)
{
handler
(
newVal
,
oldVla
)
{
// console.log('snapshotIndexChange:' + newVal)
// console.log('snapshotIndexChange:' + newVal)
// console.log('.initMatrix3')
this
.
initMatrix
()
this
.
initMatrix
()
},
},
deep
:
true
deep
:
true
...
@@ -1057,15 +1061,20 @@ export default {
...
@@ -1057,15 +1061,20 @@ export default {
},
},
mounted
()
{
mounted
()
{
setTimeout
(()
=>
{
this
.
changeScale
()
this
.
editShow
=
true
},
500
)
// this.changeScale()
// 获取编辑器元素
// 获取编辑器元素
this
.
$store
.
commit
(
'getEditor'
)
this
.
$store
.
commit
(
'getEditor'
)
const
_this
=
this
const
_this
=
this
// bus.$on('auxiliaryMatrixChange', this.initMatrix)
// bus.$on('auxiliaryMatrixChange', this.initMatrix)
bus
.
$on
(
'auxiliaryMatrixChange'
,
()
=>
{
//
bus.$on('auxiliaryMatrixChange', () => {
_this
.
$nextTick
(()
=>
{
//
_this.$nextTick(() => {
_this
.
initMatrix
()
//
_this.initMatrix()
})
//
})
})
//
})
eventBus
.
$on
(
'hideArea'
,
()
=>
{
eventBus
.
$on
(
'hideArea'
,
()
=>
{
this
.
hideArea
()
this
.
hideArea
()
})
})
...
@@ -1300,6 +1309,7 @@ export default {
...
@@ -1300,6 +1309,7 @@ export default {
this
.
baseHeight
=
this
.
matrixStyle
.
height
this
.
baseHeight
=
this
.
matrixStyle
.
height
this
.
cellWidth
=
this
.
matrixStyle
.
width
this
.
cellWidth
=
this
.
matrixStyle
.
width
this
.
cellHeight
=
this
.
matrixStyle
.
height
this
.
cellHeight
=
this
.
matrixStyle
.
height
// console.log('.initMatrix1')
this
.
initMatrix
()
this
.
initMatrix
()
this
.
scaleWidth
=
this
.
outStyle
.
width
*
100
/
this
.
canvasStyleData
.
width
this
.
scaleWidth
=
this
.
outStyle
.
width
*
100
/
this
.
canvasStyleData
.
width
...
...
frontend/src/components/canvas/custom-component/UserView.vue
浏览文件 @
0b45a14e
<
template
>
<
template
>
<div
<div
v-loading=
"requestStatus==='waiting'"
v-loading=
"
canvasStyleData.refreshViewLoading&&
requestStatus==='waiting'"
:class=
"[
:class=
"[
{
{
['active']: active
['active']: active
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
},
},
// 监听外部计时器变化
// 监听外部计时器变化
searchCount
:
function
(
val1
)
{
searchCount
:
function
(
val1
)
{
if
(
val1
>
0
)
{
if
(
val1
>
0
&&
this
.
requestStatus
!==
'waiting'
)
{
this
.
getData
(
this
.
element
.
propValue
.
viewId
)
this
.
getData
(
this
.
element
.
propValue
.
viewId
)
}
}
},
},
...
...
frontend/src/components/canvas/store/snapshot.js
浏览文件 @
0b45a14e
...
@@ -8,13 +8,15 @@ export default {
...
@@ -8,13 +8,15 @@ export default {
snapshotIndex
:
-
1
,
// 快照索引
snapshotIndex
:
-
1
,
// 快照索引
changeTimes
:
-
1
,
// 修改次数
changeTimes
:
-
1
,
// 修改次数
lastSaveSnapshotIndex
:
0
,
// 最后保存是snapshotIndex的索引
lastSaveSnapshotIndex
:
0
,
// 最后保存是snapshotIndex的索引
styleChangeTimes
:
0
// 组件样式修改次数
styleChangeTimes
:
0
,
// 组件样式修改次数
doSnapshotIndex
:
-
1
// snapshot undo redo 时的索引记录
},
},
mutations
:
{
mutations
:
{
undo
(
state
)
{
undo
(
state
)
{
store
.
commit
(
'setCurComponent'
,
{
component
:
null
,
index
:
null
})
store
.
commit
(
'setCurComponent'
,
{
component
:
null
,
index
:
null
})
if
(
state
.
snapshotIndex
>
0
)
{
if
(
state
.
snapshotIndex
>
0
)
{
state
.
snapshotIndex
--
state
.
snapshotIndex
--
state
.
doSnapshotIndex
=
state
.
snapshotIndex
store
.
commit
(
'setComponentData'
,
deepCopy
(
state
.
snapshotData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setComponentData'
,
deepCopy
(
state
.
snapshotData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setCanvasStyle'
,
deepCopy
(
state
.
snapshotStyleData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setCanvasStyle'
,
deepCopy
(
state
.
snapshotStyleData
[
state
.
snapshotIndex
]))
}
}
...
@@ -24,6 +26,7 @@ export default {
...
@@ -24,6 +26,7 @@ export default {
store
.
commit
(
'setCurComponent'
,
{
component
:
null
,
index
:
null
})
store
.
commit
(
'setCurComponent'
,
{
component
:
null
,
index
:
null
})
if
(
state
.
snapshotIndex
<
state
.
snapshotData
.
length
-
1
)
{
if
(
state
.
snapshotIndex
<
state
.
snapshotData
.
length
-
1
)
{
state
.
snapshotIndex
++
state
.
snapshotIndex
++
state
.
doSnapshotIndex
=
state
.
snapshotIndex
store
.
commit
(
'setComponentData'
,
deepCopy
(
state
.
snapshotData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setComponentData'
,
deepCopy
(
state
.
snapshotData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setCanvasStyle'
,
deepCopy
(
state
.
snapshotStyleData
[
state
.
snapshotIndex
]))
store
.
commit
(
'setCanvasStyle'
,
deepCopy
(
state
.
snapshotStyleData
[
state
.
snapshotIndex
]))
}
}
...
@@ -42,6 +45,7 @@ export default {
...
@@ -42,6 +45,7 @@ export default {
}
}
},
},
refreshSnapshot
(
state
)
{
refreshSnapshot
(
state
)
{
// console.log('refreshSnapshot')
// 刷新快照
// 刷新快照
state
.
snapshotData
=
[]
state
.
snapshotData
=
[]
state
.
snapshotStyleData
=
[]
state
.
snapshotStyleData
=
[]
...
...
frontend/src/components/canvas/utils/style.js
浏览文件 @
0b45a14e
...
@@ -63,8 +63,9 @@ export function getComponentRotatedStyle(style) {
...
@@ -63,8 +63,9 @@ export function getComponentRotatedStyle(style) {
export
function
colorRgb
(
color
,
opacity
)
{
export
function
colorRgb
(
color
,
opacity
)
{
var
reg
=
/^#
([
0-9a-fA-f
]{3}
|
[
0-9a-fA-f
]{6})
$/
var
reg
=
/^#
([
0-9a-fA-f
]{3}
|
[
0-9a-fA-f
]{6})
$/
var
sColor
=
color
.
toLowerCase
()
var
sColor
=
color
if
(
sColor
&&
reg
.
test
(
sColor
))
{
if
(
sColor
&&
reg
.
test
(
sColor
))
{
sColor
=
sColor
.
toLowerCase
()
if
(
sColor
.
length
===
4
)
{
if
(
sColor
.
length
===
4
)
{
var
sColorNew
=
'#'
var
sColorNew
=
'#'
for
(
var
i
=
1
;
i
<
4
;
i
+=
1
)
{
for
(
var
i
=
1
;
i
<
4
;
i
+=
1
)
{
...
...
frontend/src/components/cron/cron.vue
浏览文件 @
0b45a14e
...
@@ -126,9 +126,9 @@ export default {
...
@@ -126,9 +126,9 @@ export default {
})
})
}
}
const
v
=
`
${
this
.
sVal
}
${
this
.
mVal
}
${
this
.
hVal
}
${
this
.
dVal
}
${
this
.
monthVal
}
${
this
.
weekVal
}
${
this
.
yearVal
}
`
const
v
=
`
${
this
.
sVal
}
${
this
.
mVal
}
${
this
.
hVal
}
${
this
.
dVal
}
${
this
.
monthVal
}
${
this
.
weekVal
}
${
this
.
yearVal
}
`
if
(
v
!==
this
.
value
)
{
//
if (v !== this.value) {
this
.
$emit
(
'input'
,
v
)
this
.
$emit
(
'input'
,
v
)
}
//
}
return
v
return
v
}
}
},
},
...
...
frontend/src/lang/en.js
浏览文件 @
0b45a14e
...
@@ -1239,6 +1239,7 @@ export default {
...
@@ -1239,6 +1239,7 @@ export default {
component_gap
:
'Component Gap'
,
component_gap
:
'Component Gap'
,
refresh_time
:
'Refresh Time'
,
refresh_time
:
'Refresh Time'
,
minute
:
'minute'
,
minute
:
'minute'
,
second
:
'second'
,
photo
:
'Photo'
,
photo
:
'Photo'
,
default_panel
:
'Default Dashboard'
,
default_panel
:
'Default Dashboard'
,
create_public_links
:
'Create public links'
,
create_public_links
:
'Create public links'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
0b45a14e
...
@@ -1242,6 +1242,7 @@ export default {
...
@@ -1242,6 +1242,7 @@ export default {
component_gap
:
'組件間隙'
,
component_gap
:
'組件間隙'
,
refresh_time
:
'刷新时间'
,
refresh_time
:
'刷新时间'
,
minute
:
'分钟'
,
minute
:
'分钟'
,
second
:
'秒'
,
photo
:
'圖片'
,
photo
:
'圖片'
,
default_panel
:
'默認儀表板'
,
default_panel
:
'默認儀表板'
,
create_public_links
:
'創建公共鏈接'
,
create_public_links
:
'創建公共鏈接'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
0b45a14e
...
@@ -1250,6 +1250,7 @@ export default {
...
@@ -1250,6 +1250,7 @@ export default {
component_gap
:
'组件间隙'
,
component_gap
:
'组件间隙'
,
refresh_time
:
'刷新时间'
,
refresh_time
:
'刷新时间'
,
minute
:
'分钟'
,
minute
:
'分钟'
,
second
:
'秒'
,
photo
:
'图片'
,
photo
:
'图片'
,
default_panel
:
'默认仪表板'
,
default_panel
:
'默认仪表板'
,
create_public_links
:
'创建公共链接'
,
create_public_links
:
'创建公共链接'
,
...
...
frontend/src/views/panel/LinkJumpSet/index.vue
浏览文件 @
0b45a14e
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
:placeholder=
"$t('panel.select_jump_panel')"
:placeholder=
"$t('panel.select_jump_panel')"
style=
"margin-right: 10px"
style=
"margin-right: 10px"
@
select=
"panelNodeClick"
@
select=
"panelNodeClick"
@
input=
"inputVal"
/>
/>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -309,6 +310,13 @@ export default {
...
@@ -309,6 +310,13 @@ export default {
this
.
linkJumpInfo
.
targetViewInfoList
=
[]
this
.
linkJumpInfo
.
targetViewInfoList
=
[]
this
.
getPanelViewList
(
data
.
id
)
this
.
getPanelViewList
(
data
.
id
)
},
},
inputVal
(
value
)
{
if
(
!
value
)
{
this
.
linkJumpInfo
.
targetViewInfoList
=
[]
this
.
viewIdFieldArrayMap
=
{}
this
.
currentLinkPanelViewArray
=
[]
}
},
addLinkJumpField
()
{
addLinkJumpField
()
{
this
.
linkJumpInfo
.
targetViewInfoList
.
push
({
this
.
linkJumpInfo
.
targetViewInfoList
.
push
({
targetViewId
:
''
,
targetViewId
:
''
,
...
...
frontend/src/views/panel/SubjectSetting/PanelStyle/PanelRefreshTime.vue
浏览文件 @
0b45a14e
...
@@ -7,9 +7,18 @@
...
@@ -7,9 +7,18 @@
trigger=
"click"
trigger=
"click"
>
>
<el-col>
<el-col>
<el-form
ref=
"colorForm"
label-width=
"80px"
size=
"mini"
>
<el-form
ref=
"colorForm"
label-width=
"110px"
size=
"mini"
>
<el-form-item
:label=
"$t('panel.minute')"
class=
"form-item form-item-slider"
>
<el-form-item
:label=
"'视图加载提示'"
class=
"form-item form-item-slider"
>
<el-slider
v-model=
"canvasStyleData.refreshTime"
show-input
:show-input-controls=
"false"
input-size=
"mini"
:min=
"1"
:max=
"60"
@
change=
"onChangePanelStyle"
/>
<el-checkbox
v-model=
"canvasStyleData.refreshViewLoading"
@
change=
"onChangePanelStyle"
/>
</el-form-item>
<el-form-item
:label=
"'刷新时间单位'"
class=
"form-item form-item-slider"
>
<el-radio-group
v-model=
"canvasStyleData.refreshUnit"
@
change=
"onChangePanelStyle"
>
<el-radio
label=
"second"
>
秒
</el-radio>
<el-radio
label=
"minute"
>
分
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"'刷新时间频率'"
class=
"form-item form-item-slider"
>
<el-slider
v-model=
"canvasStyleData.refreshTime"
show-input
:show-input-controls=
"false"
input-size=
"mini"
:min=
"1"
:max=
"3600"
@
change=
"onChangePanelStyle"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</el-col>
</el-col>
...
...
frontend/src/views/panel/edit/index.vue
浏览文件 @
0b45a14e
...
@@ -423,6 +423,8 @@ export default {
...
@@ -423,6 +423,8 @@ export default {
// this.$store.commit('setComponentData', this.resetID(JSON.parse(componentDataTemp)))
// this.$store.commit('setComponentData', this.resetID(JSON.parse(componentDataTemp)))
const
temp
=
JSON
.
parse
(
canvasStyleDataTemp
)
const
temp
=
JSON
.
parse
(
canvasStyleDataTemp
)
temp
.
refreshTime
=
(
temp
.
refreshTime
||
5
)
temp
.
refreshTime
=
(
temp
.
refreshTime
||
5
)
temp
.
refreshViewLoading
=
(
temp
.
refreshViewLoading
||
false
)
temp
.
refreshUnit
=
(
temp
.
refreshUnit
||
'minute'
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
temp
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
temp
)
// 清空临时画布数据
// 清空临时画布数据
...
@@ -444,6 +446,8 @@ export default {
...
@@ -444,6 +446,8 @@ export default {
// this.$store.commit('setComponentData', this.resetID(JSON.parse(response.data.panelData)))
// this.$store.commit('setComponentData', this.resetID(JSON.parse(response.data.panelData)))
const
panelStyle
=
JSON
.
parse
(
response
.
data
.
panelStyle
)
const
panelStyle
=
JSON
.
parse
(
response
.
data
.
panelStyle
)
panelStyle
.
refreshTime
=
(
panelStyle
.
refreshTime
||
5
)
panelStyle
.
refreshTime
=
(
panelStyle
.
refreshTime
||
5
)
panelStyle
.
refreshViewLoading
=
(
panelStyle
.
refreshViewLoading
||
false
)
panelStyle
.
refreshUnit
=
(
panelStyle
.
refreshUnit
||
'minute'
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
panelStyle
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
panelStyle
)
this
.
$store
.
commit
(
'recordSnapshot'
,
'init'
)
// 记录快照
this
.
$store
.
commit
(
'recordSnapshot'
,
'init'
)
// 记录快照
...
...
frontend/src/views/panel/list/PanelList.vue
浏览文件 @
0b45a14e
...
@@ -632,6 +632,8 @@ export default {
...
@@ -632,6 +632,8 @@ export default {
// this.$store.commit('setComponentData', sourceInfo.type === 'custom' ? sourceInfo : this.resetID(sourceInfo))
// this.$store.commit('setComponentData', sourceInfo.type === 'custom' ? sourceInfo : this.resetID(sourceInfo))
const
temp
=
JSON
.
parse
(
response
.
data
.
panelStyle
)
const
temp
=
JSON
.
parse
(
response
.
data
.
panelStyle
)
temp
.
refreshTime
=
(
temp
.
refreshTime
||
5
)
temp
.
refreshTime
=
(
temp
.
refreshTime
||
5
)
temp
.
refreshViewLoading
=
(
temp
.
refreshViewLoading
||
false
)
temp
.
refreshUnit
=
(
temp
.
refreshUnit
||
'minute'
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
temp
)
this
.
$store
.
commit
(
'setCanvasStyle'
,
temp
)
this
.
$store
.
dispatch
(
'panel/setPanelInfo'
,
data
)
this
.
$store
.
dispatch
(
'panel/setPanelInfo'
,
data
)
...
...
frontend/src/views/panel/panel.js
浏览文件 @
0b45a14e
...
@@ -20,7 +20,9 @@ export const CANVAS_STYLE = {
...
@@ -20,7 +20,9 @@ export const CANVAS_STYLE = {
auxiliaryMatrix
:
true
,
auxiliaryMatrix
:
true
,
openCommonStyle
:
true
,
openCommonStyle
:
true
,
panel
:
DEFAULT_PANEL_STYLE
,
panel
:
DEFAULT_PANEL_STYLE
,
refreshTime
:
5
// 仪表板刷新时间 默认五分钟
refreshViewLoading
:
true
,
// 仪表板视图loading提示
refreshUnit
:
'minute'
,
// 仪表板刷新时间带外 默认 分钟
refreshTime
:
5
// 仪表板刷新时间 默认5分钟
}
}
export
const
DEFAULT_COMMON_CANVAS_STYLE_STRING
=
{
export
const
DEFAULT_COMMON_CANVAS_STYLE_STRING
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论