“表单在 Gmail 中被禁用”

And*_*rew 7 gmail android thymeleaf spring-boot

Android Gmail 应用程序阻止输入类型提交。有人遇到过这种类型的问题吗?帮助。

在此处输入图片说明

代码 :

<form th:action="${url}" th:object="${testToken}" method="post">
        <input type="hidden" th:value="${unique}" name="theUrl" /> 
        <input th:style="'border:0; height:60px; width:150px; background:url(' + |cid:${imageResourceName}| + ') no-repeat left top; cursor:pointer;'"
            type="submit" value="" />
    </form>
Run Code Online (Sandbox Code Playgroud)

小智 2

将方法从“post”改为“get”就可以了。

偶然发现了这个。