Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
link-tools
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
vue-plugins
link-tools
Commits
a79f4a9c
Commit
a79f4a9c
authored
Jan 31, 2019
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉分享有奖提示
parent
6561bcdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
linktools.vue
linktools.vue
+5
-4
linktoolspage.vue
linktoolspage.vue
+7
-4
No files found.
linktools.vue
View file @
a79f4a9c
...
...
@@ -681,8 +681,8 @@ export default {
// 如果直接close会有id 如果确认之后是没有id
if
(
'id'
in
this
.
selectLinkObj
)
{
this
.
$emit
(
'linkSelect'
,
{});
this
.
$emit
(
'update:linkVisible'
,
false
);
}
this
.
$emit
(
'update:linkVisible'
,
false
);
this
.
resetAll
();
},
handlePaddGift
(
list
)
{
...
...
@@ -745,7 +745,6 @@ export default {
this
.
twoLevelVisible
=
false
;
this
.
thirdlinkVisible
=
false
;
this
.
h5linkVisible
=
false
;
this
.
$message
.
error
(
'请确保已开通【分享有赏】营销应用,否则链接配置无效!'
);
}
},
...
...
@@ -1507,7 +1506,7 @@ export default {
// 确认操作
confirmLinkSelect
()
{
var
that
=
this
console
.
log
(
this
.
selectLinkObj
);
// 如果选择 h5 判断选择的链接
if
(
that
.
oneLevelTypeValue
==
5
)
{
if
(
!
that
.
h5linkObj
.
name
.
trim
()
||
!
that
.
h5linkObj
.
url
.
trim
())
{
...
...
@@ -1800,9 +1799,10 @@ export default {
// 触发父组件方法,传递参数
transData
()
{
console
.
log
(
this
.
selectLinkObj
);
this
.
$emit
(
'linkSelect'
,
this
.
selectLinkObj
);
this
.
$emit
(
'update:linkVisible'
,
false
);
this
.
resetAll
();
//
this.resetAll();
},
// 获取一级列表
...
...
@@ -2049,6 +2049,7 @@ export default {
watch
:
{
linkVisible
(
val
)
{
console
.
log
(
val
);
this
.
mylinkToolsVisible
=
val
;
// 新增linkToolsVisible的watch,监听变更并同步到linkToolsVisible上
},
// isWx(val) {
...
...
linktoolspage.vue
View file @
a79f4a9c
<
template
>
<!-- 链接小工具 -->
<div
class=
"link-tools-contain"
>
...
...
@@ -650,8 +652,8 @@ export default {
// 如果直接close会有id 如果确认之后是没有id
if
(
'id'
in
this
.
selectLinkObj
)
{
this
.
$emit
(
'linkSelect'
,
{});
this
.
$emit
(
'update:linkVisible'
,
false
);
}
this
.
$emit
(
'update:linkVisible'
,
false
);
this
.
resetAll
();
},
handlePaddGift
(
list
)
{
...
...
@@ -714,7 +716,6 @@ export default {
this
.
twoLevelVisible
=
false
;
this
.
thirdlinkVisible
=
false
;
this
.
h5linkVisible
=
false
;
this
.
$message
.
error
(
'请确保已开通【分享有赏】营销应用,否则链接配置无效!'
);
}
},
...
...
@@ -1476,7 +1477,7 @@ export default {
// 确认操作
confirmLinkSelect
()
{
var
that
=
this
console
.
log
(
this
.
selectLinkObj
);
// 如果选择 h5 判断选择的链接
if
(
that
.
oneLevelTypeValue
==
5
)
{
if
(
!
that
.
h5linkObj
.
name
.
trim
()
||
!
that
.
h5linkObj
.
url
.
trim
())
{
...
...
@@ -1769,9 +1770,10 @@ export default {
// 触发父组件方法,传递参数
transData
()
{
console
.
log
(
this
.
selectLinkObj
);
this
.
$emit
(
'linkSelect'
,
this
.
selectLinkObj
);
this
.
$emit
(
'update:linkVisible'
,
false
);
this
.
resetAll
();
//
this.resetAll();
},
// 获取一级列表
...
...
@@ -2018,6 +2020,7 @@ export default {
watch
:
{
linkVisible
(
val
)
{
console
.
log
(
val
);
this
.
mylinkToolsVisible
=
val
;
// 新增linkToolsVisible的watch,监听变更并同步到linkToolsVisible上
},
// isWx(val) {
...
...
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