隐藏input
This commit is contained in:
@ -23,6 +23,7 @@
|
|||||||
input.id = 'tempInput_CustomerService'
|
input.id = 'tempInput_CustomerService'
|
||||||
input.name= 'sceneUrl'
|
input.name= 'sceneUrl'
|
||||||
input.value= pathname
|
input.value= pathname
|
||||||
|
input.type="hidden"
|
||||||
tempForm.appendChild(input)
|
tempForm.appendChild(input)
|
||||||
document.body.appendChild(tempForm);
|
document.body.appendChild(tempForm);
|
||||||
if(tempForm){
|
if(tempForm){
|
||||||
@ -53,6 +54,7 @@
|
|||||||
input.id = 'tempInput_CustomerService'
|
input.id = 'tempInput_CustomerService'
|
||||||
input.name= 'sceneUrl'
|
input.name= 'sceneUrl'
|
||||||
input.value= pathname
|
input.value= pathname
|
||||||
|
input.type="hidden"
|
||||||
tempForm.appendChild(input)
|
tempForm.appendChild(input)
|
||||||
document.body.appendChild(tempForm);
|
document.body.appendChild(tempForm);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user