|
@@ -146,7 +146,7 @@ export function setRadioValue(state,action){
|
|
|
if(it.value){ //至少有一个子值才黑显
|
|
|
hasValue = true;
|
|
|
}
|
|
|
- if(it.tagType===8){
|
|
|
+ if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -183,7 +183,7 @@ export const setRadioInputValue = (state,action)=>{
|
|
|
if(it.value){ //至少有一个子值才黑显
|
|
|
hasValue = true;
|
|
|
}
|
|
|
- if(it.tagType===8){
|
|
|
+ if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -219,7 +219,7 @@ export const setRadioInputValue = (state,action)=>{
|
|
|
if(res.data[index].tagType!=1){
|
|
|
let hasValue = false;
|
|
|
const sub = res.data[index].questionMapping.map((it)=>{
|
|
|
- if(it.tagType===8){
|
|
|
+ if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -454,7 +454,7 @@ export function setInputLabel(state,action){
|
|
|
if(+item.tagType===3){ //multSpred标签
|
|
|
item.questionMapping[subIndex].value = text;
|
|
|
let texts = item.questionMapping.map((it)=>{
|
|
|
- if(it.tagType===8){
|
|
|
+ if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
return it.name;
|
|
|
}else{
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|