前端时间用vue做了一个提交申请单的功能,客户开始是说要兼容IE,IE可以之后,又说要兼容到IE8。可vue官网直接说了不兼容IE8,可真是让人头大。

没办法,谁让客户是上帝呢,只能想办法解决了,经过各种百度,最终决定用avalon2去解决。

在这里我就贴一些修改基础,不贴代码告诉大家怎么做了,就把需要用的参考文档贴出来,方便大家查阅吧。

new vue ----------->avalon.define

el:----------->$id

id='xxx'----------->ms-controller='xxx'

v-model----------->ms-duplex

v-for----------->ms-for

v-show----------->ms-attr-visivle

v-if----------->ms-if

:style----------->ms-css

:disabled-----------> ms-attr-disabled

:checked ----------->ms-attr-checked

https://www.cnblogs.com/rubylouvre/p/3181291.html#top10https://www.cnblogs.com/rubylouvre/p/3181291.html#top10icon-default.png?t=LA92https://www.cnblogs.com/rubylouvre/p/3181291.html#top10https://www.bootcdn.cn/avalon.js/https://www.bootcdn.cn/avalon.js/icon-default.png?t=LA92https://www.bootcdn.cn/avalon.js/http://avalonjs.github.io/index2.html#home.htmlhttp://avalonjs.github.io/index2.html#home.htmlicon-default.png?t=LA92http://avalonjs.github.io/index2.html#home.htmlhttps://www.cnblogs.com/vajoy/p/4063824.htmlhttps://www.cnblogs.com/vajoy/p/4063824.htmlicon-default.png?t=LA92https://www.cnblogs.com/vajoy/p/4063824.html

Logo

前往低代码交流专区

更多推荐