主题 : 模板写完引入报错,是否有模板开发说明? |
级别: 白丁
|
2# 发表于:2021-03-01 15:47:16 IP:39.148.*.*
vue.js:634 [Vue warn]: Error compiling template:
Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed. |
||
---|---|---|---|
级别: 白丁
|
4# 发表于:2021-03-01 16:15:07 IP:39.148.*.*
回复第3楼那可以写js嘛?如果可以的话是正常写法嘛?我得js也提示是不好用
|
||
---|---|---|---|
级别: 管理员
|
5# 发表于:2021-03-01 16:17:22 IP:59.210.*.*
也不能,模板管理里只能写模板调用js和css,您这些前端开发里写的,您看看开发手册
|
||
---|---|---|---|
1
共1页