Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
ui
quantum-blocks
Commits
b8dd80ec
Commit
b8dd80ec
authored
May 04, 2023
by
徐光星
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加逻辑注释
parent
10ee6c14
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
index.vue
app/web/component/layout/editor/micro/index.vue
+4
-4
index.vue
...nt/DynamicForm/component/SnapUpActivitySelector/index.vue
+1
-1
goodsTabs.mixin.ts
app/web/page/editor/mixins/goodsTabs.mixin.ts
+0
-2
No files found.
app/web/component/layout/editor/micro/index.vue
View file @
b8dd80ec
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
'
fetchTenantAuthData
'
'
fetchTenantAuthData
'
]),
]),
select
(
name
)
{
select
(
name
)
{
console
.
log
(
'
select
'
,
name
);
//
console.log('select', name);
const
current
=
this
.
page
[
name
];
const
current
=
this
.
page
[
name
];
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
current
.
path
,
name
:
current
.
path
,
...
@@ -90,11 +90,11 @@ export default {
...
@@ -90,11 +90,11 @@ export default {
},
},
created
()
{
created
()
{
this
.
fetchTenantAuthData
();
this
.
fetchTenantAuthData
();
console
.
log
(
'
isDashboard
'
,
this
.
$route
);
//
console.log('isDashboard', this.$route);
},
},
watch
:
{
watch
:
{
$route
(
to
,
from
)
{
$route
(
to
,
from
)
{
console
.
log
(
to
,
from
);
//
console.log(to, from);
if
(
to
.
path
!==
from
.
path
&&
to
.
path
===
'
/list
'
)
{
if
(
to
.
path
!==
from
.
path
&&
to
.
path
===
'
/list
'
)
{
this
.
activeName
=
0
;
this
.
activeName
=
0
;
}
}
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
return
[
'
ivu-menu-dark
'
,
'
menu-item
'
,
this
.
isCollapsed
?
'
collapsed-menu
'
:
''
];
return
[
'
ivu-menu-dark
'
,
'
menu-item
'
,
this
.
isCollapsed
?
'
collapsed-menu
'
:
''
];
},
},
isDashboard
()
{
isDashboard
()
{
console
.
log
(
'
isDashboard
'
,
this
.
$route
);
//
console.log('isDashboard', this.$route);
return
this
.
$route
.
name
===
'
detail
'
;
return
this
.
$route
.
name
===
'
detail
'
;
}
}
},
},
...
...
app/web/page/editor/component/DynamicForm/component/SnapUpActivitySelector/index.vue
View file @
b8dd80ec
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
}
}
// 判断填入的活动ID是否存在重复的渠道ID的情况
// 判断填入的活动ID是否存在重复的渠道ID的情况
const
normalKey
=
'
common
'
;
const
normalKey
=
'
common
'
;
const
validArr
=
res
.
filter
(
item
=>
item
.
activityTemplateType
&&
item
.
activityTemplateType
==
1
);
const
validArr
=
res
.
filter
(
item
=>
item
.
activityTemplateType
&&
item
.
activityTemplateType
==
1
1
);
const
channel2Id
=
{
}
;
const
channel2Id
=
{
}
;
validArr
.
map
(
item
=>
{
validArr
.
map
(
item
=>
{
if
(
item
.
kaChannelNo
)
{
if
(
item
.
kaChannelNo
)
{
...
...
app/web/page/editor/mixins/goodsTabs.mixin.ts
View file @
b8dd80ec
...
@@ -73,7 +73,6 @@ export default class GoodsTabsMixin extends Vue {
...
@@ -73,7 +73,6 @@ export default class GoodsTabsMixin extends Vue {
let
ids
:
any
=
[];
let
ids
:
any
=
[];
const
batchPickupIndexArr
:
any
[]
=
[];
// 记录一键领取索引值
const
batchPickupIndexArr
:
any
[]
=
[];
// 记录一键领取索引值
elements
.
forEach
((
item
,
index
)
=>
{
elements
.
forEach
((
item
,
index
)
=>
{
console
.
log
(
item
);
if
(
item
.
name
==
'
cs-coupon
'
&&
item
.
props
.
couponsList
&&
item
.
props
.
couponsList
.
length
)
{
if
(
item
.
name
==
'
cs-coupon
'
&&
item
.
props
.
couponsList
&&
item
.
props
.
couponsList
.
length
)
{
ids
=
ids
.
concat
(
item
.
props
.
couponsList
);
ids
=
ids
.
concat
(
item
.
props
.
couponsList
);
}
}
...
@@ -102,7 +101,6 @@ export default class GoodsTabsMixin extends Vue {
...
@@ -102,7 +101,6 @@ export default class GoodsTabsMixin extends Vue {
}
}
}
}
});
});
console
.
log
(
'
parseGoodsTabs
'
,
goodsTabs
);
Object
.
keys
(
goodsTabs
).
forEach
(
key
=>
{
Object
.
keys
(
goodsTabs
).
forEach
(
key
=>
{
goodsTabs
[
key
].
forEach
((
child
,
index
)
=>
{
goodsTabs
[
key
].
forEach
((
child
,
index
)
=>
{
// console.log('parseGoodsTabs', { containerIndex: +key + 1 + index, data: child });
// console.log('parseGoodsTabs', { containerIndex: +key + 1 + index, data: child });
...
...
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