Commit 39014bda by FangYuan

参数特殊处理

parent 8a687e3b
......@@ -203,6 +203,7 @@ export default {
this.writeCodeList[i].maxLength = obj.maxLength;
this.writeCodeList[i].minLength = obj.minLength;
this.writeCodeList[i].prompt = obj.prompt;
this.writeCodeList[i].isVariable = obj.isVariable;
if (obj.isDate === 0 && obj.isNum === 1) {
this.writeCodeList[i].inputType = "number";
} else if (obj.isDate === 0 && obj.isNum === 0) {
......@@ -270,7 +271,12 @@ export default {
let param = [];
this.writeCodeList.map((item) => {
if (item.cValue) {
param.push(`${item.flag},${item.cValue}`);
if(item.isVariable === 1) {
param.push(`${item.flag},${item.cValue}ñ`);
} else {
param.push(`${item.flag},${item.cValue}`);
}
}
return item;
......
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