| | |
| | | }, |
| | | |
| | | validateArgVal(sdkArgItem, e) { |
| | | console.log(sdkArgItem); |
| | | if ( |
| | | typeof sdkArgItem.sdk_arg_value == "string" && |
| | | sdkArgItem.sdk_arg_value == "" |
| | |
| | | } |
| | | }); |
| | | let optArgDesc = " "; |
| | | |
| | | //新增 |
| | | |
| | | //新增 |
| | | |
| | | this.sdkItem.optArg.forEach((arg) => { |
| | | let val = ""; |
| | | let valRange = ""; |
| | |
| | | optArgDesc.substring(optArgDesc.length - 1, optArgDesc.length); |
| | | optArgDesc += ")"; |
| | | tempObj.sdk_set = defaultArgs.concat(optArgs); |
| | | tempObj.ruleDes = defaultArgDesc + optArgDesc; |
| | | console.log(tempObj.ruleDes); |
| | | |
| | | if (this.editSdk) { |
| | | tempObj.icon_blob = this.editSdk.icon_blob; |
| | | tempObj.group_id = this.editSdk.group_id; |
| | | tempObj.sort = this.editSdk.sort; |
| | | tempObj.id = this.editSdk.id; |
| | | tempObj.icon_blob = this.editSdk.icon_blob; |
| | | tempObj.icon_blob2 = this.editSdk.icon_blob2; |
| | | this.$emit("getEditSdk", tempObj); |
| | | } else { |
| | | tempObj.icon_blob = this.$store.state.newSdk.iconBlob; |