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
d9cc80fc
Commit
d9cc80fc
authored
Nov 17, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复新建分组bug
parent
3349442c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
23 deletions
+11
-23
tag-config-options.vue
src/components/tag/tag-config-options.vue
+11
-23
No files found.
src/components/tag/tag-config-options.vue
View file @
d9cc80fc
...
...
@@ -1254,7 +1254,7 @@ export default {
/**
* 检查模板code
*/
checkTemplageCode
(
template
)
{
async
checkTemplageCode
(
template
)
{
this
.
templateData
=
[];
let
middleTemplate
=
JSON
.
parse
(
template
);
if
(
middleTemplate
)
{
...
...
@@ -1264,7 +1264,7 @@ export default {
this
.
currentComputeType
=
templateVal
.
compute
.
computeType
>>
0
;
if
(
this
.
currentComputeType
===
0
&&
!!
templateVal
.
compute
.
computeWidgetId
)
{
this
.
getTemplateCodeById
(
templateVal
.
compute
.
computeWidgetId
);
await
this
.
getTemplateCodeById
(
templateVal
.
compute
.
computeWidgetId
);
}
// 固定计算属性(最后保存用到)
if
(
this
.
currentComputeType
===
1
)
{
...
...
@@ -1273,28 +1273,16 @@ export default {
// 门店
if
(
!!
templateVal
.
valWidgetId
)
{
setTimeout
(
_
=>
{
this
.
getTemplateCodeById
(
templateVal
.
valWidgetId
);
},
50
);
await
this
.
getTemplateCodeById
(
templateVal
.
valWidgetId
);
}
if
(
!!
newTime
.
length
)
{
if
(
this
.
currentComputeType
===
1
)
{
setTimeout
(
_
=>
{
newTime
.
forEach
((
ele
,
index
)
=>
{
if
(
!!
ele
.
timeWidgetId
)
{
this
.
getTemplateCodeById
(
ele
.
timeWidgetId
);
}
});
},
200
);
}
else
{
setTimeout
(
_
=>
{
newTime
.
forEach
((
ele
,
index
)
=>
{
if
(
!!
ele
.
timeWidgetId
)
{
this
.
getTemplateCodeById
(
ele
.
timeWidgetId
);
}
});
},
200
);
}
setTimeout
(
_
=>
{
newTime
.
forEach
((
ele
,
index
)
=>
{
if
(
!!
ele
.
timeWidgetId
)
{
this
.
getTemplateCodeById
(
ele
.
timeWidgetId
);
}
});
},
200
);
}
}
},
...
...
@@ -1306,7 +1294,7 @@ export default {
widgetId
:
id
,
requestProject
:
'gic-member-tag-web'
};
findWidget
(
param
)
return
findWidget
(
param
)
.
then
(
res
=>
{
if
(
res
.
errorCode
==
1
)
{
let
data
=
res
.
result
;
...
...
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