Commit b57f6426 by fukai

将模板id(如有)传入到模板结构中

parent 4602b0b2
...@@ -171,7 +171,10 @@ export class SWFPage extends Component ...@@ -171,7 +171,10 @@ export class SWFPage extends Component
//在Next报文的时候发送报文到阿尔山 //在Next报文的时候发送报文到阿尔山
let tempJsn = this.saveTemp() let tempJsn = this.saveTemp()
const mty = this.props.params.mty||this.props.extra.msgtyp const mty = this.props.params.mty||this.props.extra.msgtyp
let tempinr = this.props.params.key
let json = {sf2temp:tempJsn,mty,user:this.props.mctid||'NONE'} let json = {sf2temp:tempJsn,mty,user:this.props.mctid||'NONE'}
if(tempinr)
json.tempid = tempinr
window.templateObject = json window.templateObject = json
} }
joinMessage(tags,arr,seqlist) joinMessage(tags,arr,seqlist)
......
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