Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Go View
Commits
e8760c81
Commit
e8760c81
authored
2 years ago
by
奔跑的面条
Browse files
Options
Download
Plain Diff
Merge branch 'dev' of
https://gitee.com/MTrun/go-view
into master-fetch
parents
a9bb294f
f47c890d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.vue
+14
-1
...DataRequest/components/RequestGlobalHeaderTable/index.vue
with
14 additions
and
1 deletion
+14
-1
src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.vue
+
14
-
1
View file @
e8760c81
...
...
@@ -4,7 +4,13 @@
<n-tab
v-for=
"item in tabs"
:key=
"item"
:name=
"item"
:tab=
"item"
>
{{
item
}}
</n-tab>
</n-tabs>
<div
class=
"go-mt-3"
>
<request-header-table
:editDisabled=
"$attrs.editDisabled"
:target=
"requestParams[tabValue]"
@
update=
"updateRequestParams"
></request-header-table>
<!-- 这里的 v-if 是为了处理打包 ts 错类型误 -->
<request-header-table
v-if=
"tabValue === RequestParamsTypeEnum.HEADER"
:editDisabled=
"editDisabled"
:target=
"requestParams[tabValue]"
@
update=
"updateRequestParams"
></request-header-table>
</div>
</div>
</
template
>
...
...
@@ -15,6 +21,13 @@ import { useTargetData } from '@/views/chart/ContentConfigurations/components/ho
import
{
RequestHeaderTable
}
from
'
../RequestHeaderTable
'
import
{
RequestParamsTypeEnum
,
RequestParamsObjType
}
from
'
@/enums/httpEnum
'
defineProps
({
editDisabled
:
{
type
:
Boolean
,
default
:
true
}
})
const
{
chartEditStore
}
=
useTargetData
()
const
{
requestParams
}
=
toRefs
(
chartEditStore
.
getRequestGlobalConfig
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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