DataAlert

Results 12 comments of DataAlert

> 我的鼠标放上去也不显示图标,是两个空白框

使用下面代码时,提示如下错误。 ``` "api": { "method": "${IF(params.id, 'put', 'post')}", "url": "/api/alert/config" }, ``` ![image](https://user-images.githubusercontent.com/107041272/183237718-6b9db43f-32ac-4cd5-9829-1f7d61b58d01.png)

加好友提示输入真实姓名 UPKPI ----------回复的邮件信息---------- ***@***.***> 于2022年7月4日(周一) 上午8:31写道: 可以加我Q: 112014396 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID:...

我现在是login页面将token存储在localStorage中。然后在amis.embed的requestAdaptor(api)中发起请求时,自动把token带到header中了。 ` requestAdaptor(api) { api.headers = api.headers || {}; api.headers["token"] = localStorage.getItem("token"); return api; }, ` 代码位置参考: https://aisuda.bce.baidu.com/amis/zh-CN/docs/start/getting-started#%E6%8E%A7%E5%88%B6-amis-%E7%9A%84%E8%A1%8C%E4%B8%BA

> 貌似缺少这个: ` ` 的确如此,非常感谢!

升级到2.2.0也是同样的bug

原因是html页面没有引用 sdk/iconfont.css,添加上就好了,如下: ``

> 我用了传参数的方式,修改method的的值,不知道有没有其他的更好的办法。 一样,我也是在url参数中传入method,url前面的method全部用post,后端接口再根据参数不同处理不同的逻辑,很不优雅,但没找到更好的办法。希望amis能解决。

为什么我"editorDidMount": 后面的内容不带双引号就报错呢?