Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
WidgetUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WuFeiyang
WidgetUI
Commits
904e5ad2
Commit
904e5ad2
authored
5 years ago
by
WuFeiyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hardcode wave
parent
5e6ab4a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
src/components/WaveView/WaveView.vue
src/components/WaveView/WaveView.vue
+12
-6
No files found.
src/components/WaveView/WaveView.vue
View file @
904e5ad2
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</div>
</div>
<setBasicParams
ref=
"setBasicParams"
@
getPathId=
"getPathId"
@
updateConfig=
"updateConfig"
:wave=
"wave"
:setConfig=
'config'
@
pathPoke=
"pathPoke"
></setBasicParams>
<setBasicParams
ref=
"setBasicParams"
@
getPathId=
"getPathId"
@
updateConfig=
"updateConfig"
:wave=
"wave"
:setConfig=
'config'
@
pathPoke=
"pathPoke"
></setBasicParams>
<Navigation
ref=
"FamilyLink"
:url=
"config.data.url"
style=
"margin-top:30px"
></Navigation>
<Navigation
ref=
"FamilyLink"
:url=
"config.data.url
.path
"
style=
"margin-top:30px"
></Navigation>
</div>
</div>
</
template
>
</
template
>
...
@@ -98,6 +98,7 @@ export default class waveView extends Widget {
...
@@ -98,6 +98,7 @@ export default class waveView extends Widget {
samplePoke
(
sample
:
any
)
samplePoke
(
sample
:
any
)
{
{
var
samplePath
=
sample
.
CFET2CORE_SAMPLE_PATH
;
var
samplePath
=
sample
.
CFET2CORE_SAMPLE_PATH
;
console
.
log
(
samplePath
);
var
pokedPath
:
string
;
var
pokedPath
:
string
;
pokedPath
=
samplePath
;
pokedPath
=
samplePath
;
var
count
:
number
=
0
;
var
count
:
number
=
0
;
...
@@ -122,17 +123,22 @@ export default class waveView extends Widget {
...
@@ -122,17 +123,22 @@ export default class waveView extends Widget {
{
{
pokedPath
=
pokedPath
.
substring
(
0
,
pokedPath
.
length
-
1
);
pokedPath
=
pokedPath
.
substring
(
0
,
pokedPath
.
length
-
1
);
}
}
this
.
config
.
data
.
url
=
pokedPath
;
this
.
config
.
data
.
url
.
path
=
pokedPath
;
}
}
pathPoke
()
async
pathPoke
()
{
{
var
f
=
this
.
config
.
data
.
url
;
(
this
.
$refs
.
setBasicParams
as
setBasicParams
).
updateConfig
();
var
f
=
this
.
config
.
data
.
url
.
path
;
var
pokepath
=
"
a
"
;
var
pokepath
=
"
a
"
;
pokepath
=
f
;
pokepath
=
f
;
axios
.
get
(
this
.
config
.
data
.
url
).
then
(
response
=>
{
console
.
log
(
this
.
config
.
data
.
url
.
path
);
await
axios
.
get
(
this
.
config
.
data
.
url
.
path
).
then
(
response
=>
{
this
.
samplePoke
(
response
.
data
);
this
.
samplePoke
(
response
.
data
);
})
});
(
this
.
$refs
.
setBasicParams
as
setBasicParams
).
getPathIdParams
();
}
}
}
}
</
script
>
</
script
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment