
前端常用
弥散749
这个作者很懒,什么都没留下…
展开
-
vue动态安装组件
/** * 动态安装组件 */Vue.prototype.$install = (name, options) => { if (!options) options = {}; // var component = Vue.extend(Vue.component(name)); var component = Vue.component(name); if (!component) { console.error("component", name, "not ex.原创 2021-10-26 20:41:29 · 170 阅读 · 0 评论 -
前端常用样式:弹性布局
// 弹性布局 - 横向.flex-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: horizontal; -webkit-box-direction: normal; .原创 2021-10-26 20:38:44 · 716 阅读 · 0 评论