Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
1b10ae76
Commit
1b10ae76
authored
Apr 13, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释两行不需要的代码
parent
fe7d1dae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
tags-group-list.vue
src/view/memberGroup/tags-group-list.vue
+3
-5
No files found.
src/view/memberGroup/tags-group-list.vue
View file @
1b10ae76
...
...
@@ -51,13 +51,11 @@
<
script
>
/**
*
7
个地方需要切换标签组选中状态,分别是
*
5
个地方需要切换标签组选中状态,分别是
* 默认标签组
* 点击下拉菜单添加按钮
* 点击下拉菜单删除按钮
* 新增一个标签组
* 编辑标签
* 删除标签
* 点击选择标签组
* */
import
'./tags-detail.css'
;
...
...
@@ -129,12 +127,12 @@ export default {
// 删除标签
delTags
(
data
)
{
this
.
selectedTagsData
[
data
.
tagsGroupIndex
].
splice
(
data
.
tagIndex
,
1
);
this
.
checkTagsGroup
({
tagsGroupIndex
:
data
.
tagsGroupIndex
});
//
this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
},
// 编辑一个标签
editTags
(
data
)
{
// 保存之前先判断已选中的标签中是否存在即将添加的标签
this
.
checkTagsGroup
({
tagsGroupIndex
:
data
.
tagsGroupIndex
});
//
this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
this
.
$emit
(
'editTags'
,
{
tagsGroupIndex
:
data
.
tagsGroupIndex
,
tagIndex
:
data
.
tagIndex
});
},
// 修改两个标签组之间的关系
...
...
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