Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
ec3ca348
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
1 年多 前同步成功
通知
88
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
ec3ca348
编写于
5月 01, 2018
作者:
D
daminglu
提交者:
GitHub
5月 01, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add logic for demo server (#444)
上级
d9a71463
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
23 addition
and
9 deletion
+23
-9
frontend/src/audio/ui/AudioPanel.vue
frontend/src/audio/ui/AudioPanel.vue
+3
-2
frontend/src/audio/ui/Config.vue
frontend/src/audio/ui/Config.vue
+2
-0
frontend/src/high-dimensional/HighDimensional.vue
frontend/src/high-dimensional/HighDimensional.vue
+3
-2
frontend/src/high-dimensional/ui/Config.vue
frontend/src/high-dimensional/ui/Config.vue
+2
-0
frontend/src/histogram/ui/Chart.vue
frontend/src/histogram/ui/Chart.vue
+3
-2
frontend/src/histogram/ui/Config.vue
frontend/src/histogram/ui/Config.vue
+2
-0
frontend/src/images/ui/Config.vue
frontend/src/images/ui/Config.vue
+2
-0
frontend/src/images/ui/Image.vue
frontend/src/images/ui/Image.vue
+3
-2
frontend/src/scalars/ui/Config.vue
frontend/src/scalars/ui/Config.vue
+1
-1
frontend/src/texts/ui/Config.vue
frontend/src/texts/ui/Config.vue
+2
-0
未找到文件。
frontend/src/audio/ui/AudioPanel.vue
浏览文件 @
ec3ca348
...
...
@@ -80,13 +80,14 @@ export default {
},
audioData
:
{},
data
:
[],
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
created
()
{
this
.
getOriginAudioData
();
},
mounted
()
{
if
(
this
.
running
)
{
if
(
this
.
running
&&
!
this
.
isDemo
)
{
this
.
startInterval
();
}
},
...
...
@@ -97,7 +98,7 @@ export default {
watch
:
{
running
:
function
(
val
)
{
val
?
this
.
startInterval
()
:
this
.
stopInterval
();
(
val
&&
!
this
.
isDemo
)
?
this
.
startInterval
()
:
this
.
stopInterval
();
},
currentIndex
:
function
(
index
)
{
if
(
this
.
data
&&
this
.
data
[
index
])
{
...
...
frontend/src/audio/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -20,6 +20,7 @@
<v-btn
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
class=
"visual-dl-page-run-toggle"
dark
...
...
@@ -44,6 +45,7 @@ export default {
},
data
()
{
return
{
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
methods
:
{
...
...
frontend/src/high-dimensional/HighDimensional.vue
浏览文件 @
ec3ca348
...
...
@@ -49,6 +49,7 @@ export default {
},
embeddingData
:
[],
showLoading
:
false
,
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
created
()
{
...
...
@@ -61,7 +62,7 @@ export default {
}
});
if
(
this
.
config
.
running
)
{
if
(
this
.
config
.
running
&&
!
this
.
isDemo
)
{
this
.
startInterval
();
}
},
...
...
@@ -79,7 +80,7 @@ export default {
this
.
fetchDatasets
();
},
'
config.running
'
:
function
(
val
)
{
val
?
this
.
startInterval
()
:
this
.
stopInterval
();
(
val
&&
!
this
.
isDemo
)
?
this
.
startInterval
()
:
this
.
stopInterval
();
},
},
mounted
()
{
...
...
frontend/src/high-dimensional/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -54,6 +54,7 @@
<v-btn
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
class=
"visual-dl-page-run-toggle"
dark
...
...
@@ -78,6 +79,7 @@ export default {
},
data
()
{
return
{
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
methods
:
{
...
...
frontend/src/histogram/ui/Chart.vue
浏览文件 @
ec3ca348
...
...
@@ -66,6 +66,7 @@ export default {
return
{
originData
:
[],
isExpand
:
false
,
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
watch
:
{
...
...
@@ -76,7 +77,7 @@ export default {
this
.
initChartOption
();
},
running
:
function
(
val
)
{
val
?
this
.
startInterval
()
:
this
.
stopInterval
();
(
val
&&
!
this
.
isDemo
)
?
this
.
startInterval
()
:
this
.
stopInterval
();
},
isExpand
:
function
(
val
)
{
this
.
expandArea
(
val
);
...
...
@@ -85,7 +86,7 @@ export default {
mounted
()
{
let
tagInfo
=
this
.
tagInfo
;
this
.
initChart
(
tagInfo
);
if
(
this
.
running
)
{
if
(
this
.
running
&&
!
this
.
isDemo
)
{
this
.
startInterval
();
}
},
...
...
frontend/src/histogram/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -32,6 +32,7 @@
class=
"visual-dl-page-run-toggle"
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
dark
block
...
...
@@ -64,6 +65,7 @@ export default {
value
:
'
offset
'
,
},
],
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
methods
:
{
...
...
frontend/src/images/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -25,6 +25,7 @@
<v-btn
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
class=
"visual-dl-page-run-toggle"
dark
...
...
@@ -49,6 +50,7 @@ export default {
},
data
()
{
return
{
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
methods
:
{
...
...
frontend/src/images/ui/Image.vue
浏览文件 @
ec3ca348
...
...
@@ -93,13 +93,14 @@ export default {
data
:
[],
height
:
defaultImgHeight
,
weight
:
defaultImgWidth
,
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
created
()
{
this
.
getOriginChartsData
();
},
mounted
()
{
if
(
this
.
running
)
{
if
(
this
.
running
&&
!
this
.
isDemo
)
{
this
.
startInterval
();
}
},
...
...
@@ -110,7 +111,7 @@ export default {
watch
:
{
running
:
function
(
val
)
{
val
?
this
.
startInterval
()
:
this
.
stopInterval
();
(
val
&&
!
this
.
isDemo
)
?
this
.
startInterval
()
:
this
.
stopInterval
();
},
currentIndex
:
function
(
index
)
{
/* eslint-disable fecs-camelcase */
...
...
frontend/src/scalars/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -64,11 +64,11 @@
<v-btn
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
class=
"visual-dl-page-run-toggle"
dark
block
v-if=
"!isDemo"
>
{{
config
.
running
?
'
Running
'
:
'
Stopped
'
}}
</v-btn>
...
...
frontend/src/texts/ui/Config.vue
浏览文件 @
ec3ca348
...
...
@@ -22,6 +22,7 @@
<v-btn
:color=
"config.running ? 'primary' : 'error'"
v-model=
"config.running"
v-if=
"!isDemo"
@
click=
"toggleAllRuns"
class=
"visual-dl-page-run-toggle"
dark
...
...
@@ -46,6 +47,7 @@ export default {
},
data
()
{
return
{
isDemo
:
process
.
env
.
NODE_ENV
===
'
demo
'
,
};
},
methods
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录