Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄瑜
VueElementTemplate
Commits
150e7ba4
Commit
150e7ba4
authored
7 years ago
by
赵帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codeing
parent
35ae3924
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
HmComplexDetail.vue
src/views/haomo/components/details/HmComplexDetail.vue
+4
-3
index.vue
src/views/haomo/components/details/index.vue
+2
-2
No files found.
src/views/haomo/components/details/HmComplexDetail.vue
View file @
150e7ba4
...
...
@@ -111,9 +111,10 @@
}
else
{
self
.
showColumns
=
[];
// 将字符串对象进行替换处理
_
.
each
(
self
.
schema
[
'columns'
],
function
(
column
)
{
_
.
each
(
self
.
columns
,
function
(
item
){
if
(
column
.
codeCamel
===
item
){
_
.
each
(
self
.
schema
[
'columns'
],
function
(
column
)
{
if
(
item
===
column
.
codeCamel
){
console
.
log
(
item
);
const
tmp
=
JSON
.
parse
(
JSON
.
stringify
(
column
))
self
.
showColumns
.
push
(
tmp
)
}
...
...
This diff is collapsed.
Click to expand it.
src/views/haomo/components/details/index.vue
View file @
150e7ba4
<
template
>
<div>
<
hm-complex-detail
:schema=
"schema['HmUser']"
:userId=
"userId"
>
<
/hm-complex-detail
>
<
!--
<hm-complex-detail
:schema=
"schema['HmUser']"
:userId=
"userId"
>
--
>
<
!--
</hm-complex-detail>
--
>
<hm-complex-detail
:schema=
"schema['HmUser']"
:userId=
"userId"
:columns=
"showUserColumns"
>
</hm-complex-detail>
</div>
...
...
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