Commit 10339fe3 by member

修复切换层级关闭显示状态

parent 73cc92a8
......@@ -716,6 +716,7 @@ export default {
// set onelevel visible
setOneLevelVisible(type,selectOneItem) {
var that = this;
this.visibleType = null;
this.cardLinksVisible = false;
// 设置选择的 id
that.selectLinkObj.id = selectOneItem.linkId;
......@@ -770,6 +771,7 @@ export default {
// twoLevelValueChange (二级选择,保存选择类型)
twoLevelValueChange(e) {
var that = this
this.visibleType = null;
// 清空已经选择
that.selectLinkObj.name = '';
that.selectLinkObj.url = '';
......
......@@ -686,6 +686,7 @@ export default {
setOneLevelVisible(type,selectOneItem) {
var that = this;
this.cardLinksVisible = false;
this.visibleType = null;
// 设置选择的 id
that.selectLinkObj.id = selectOneItem.linkId;
if (type) {
......@@ -740,6 +741,7 @@ export default {
twoLevelValueChange(e) {
var that = this
// 清空已经选择
this.visibleType = null;
that.selectLinkObj.name = '';
that.selectLinkObj.url = '';
this.cardLinksVisible = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment