如何在 quarkus qute? 中将 {} 更改为 ${}
如何在 quarkus qute 中将 {} 更改为 ${}?
现在 html.it 中有一些 css、js 错误。 例如:
<style type="text/css">
body\{background-color: #D0D9E0;\}
</style>
<script type="text/javascript">
$.ajax({
url: '/getUserinfo',
data: {accessToken: accessToken},
dataType: 'json',
success: function(res) {
if(res.code == 200) {
layer.alert(JSON.stringify(res.data));
} else {
layer.alert(res.msg);
}
},
error: function(xhr, type, errorThrown){
return layer.alert("异常:" + JSON.stringify(xhr));
}
});
</script>
how to change {} to ${} in quarkus qute?
there are some css,js in html.it error now.
for example:
<style type="text/css">
body\{background-color: #D0D9E0;\}
</style>
<script type="text/javascript">
$.ajax({
url: '/getUserinfo',
data: {accessToken: accessToken},
dataType: 'json',
success: function(res) {
if(res.code == 200) {
layer.alert(JSON.stringify(res.data));
} else {
layer.alert(res.msg);
}
},
error: function(xhr, type, errorThrown){
return layer.alert("异常:" + JSON.stringify(xhr));
}
});
</script>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论