logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Vue Element UI 的表单居中

Vue Element UI 的表单居中<style lang="scss" scoped>/deep/ .el-dialog__body {margin: 0 auto;}</style>/deep/ 深度选择器在vue中,为了避免父组件的样式影响到子组件的样式,会在style中加<style scoped>,这样父组件中如果有跟子组件相同的class名称或者

#css#javascript
Vue textarea动态显示行数

效果.edit {display: flex;height: 300px;}#leftBox {width: 40px;height:100%;text-align:left;}#edit-content {padding:10px 8px;width:100%;height:100%;font-size: 12px;line-height: 24px;

#html5#javascript#css3
Vue Element UI 的表单居中

Vue Element UI 的表单居中<style lang="scss" scoped>/deep/ .el-dialog__body {margin: 0 auto;}</style>/deep/ 深度选择器在vue中,为了避免父组件的样式影响到子组件的样式,会在style中加<style scoped>,这样父组件中如果有跟子组件相同的class名称或者

#css#javascript
axios post 请求参数直接传递字符串或者数值

直接用axios post传递一个字符串给后端接口axios({method: 'POST',url: '/url',data: 'hello',headers: {'Content-Type': 'application/json; charset=utf-8'}}).then(({ data }) => {console.log(data)})...

#html#javascript
到底了