加载中
ant-design-vue组件的三种加载方式

完整引入 main.js中全局引入并注册 import Antd from 'ant-design-vue' import 'ant-design-vue/dist/antd.css' Vue.use(Antd) 在页面中不再需要引入注册组件,可以直接使用所有的组件 <......

es7异步神器async-await

关于es7的async/await 在es6中新增了Promise对象来解决异步回调问题,使用Promise可以讲多层嵌套的回调函数展平,但是写代码和阅读依然有额外的负担。 下面这个列子讲述在ES6中得异步回调解决...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部