state 定义原生状态 getters 可以认为是 store 的计算属性,就像计算属性一样,getter 的返回值会根据它... 【VUE】vuex属性概念 2年前 (2022-02-16) 328 0
国际化插件工具 vue + vue-i18n angular + angular-translate react + react-intl jquery + jq... 【前端】国际化插件工具 2年前 (2022-01-14) 314 0
添加type="flex" justify="end" <el-row type="flex" justify="end"></el-row> 【Element UI】解决el-row超出换行 2年前 (2021-09-30) 484 0
@input的时候替换 <el-input v-model="ruleForm.categoryCode" class="input-width" ... 【Element UI】el-input 只允许输入英文 2年前 (2021-09-30) 450 0
vue 循环 加上 :key 绑定数组的orderNum,循环的item会按顺序显示 v-for="(item,index) in data" :key="... 【VUE】后台返回一个数组,根据数组的顺序,动态显示子组件的先后顺序 2年前 (2021-09-30) 446 0
与methods同级 父组件 provide () { return { closeConfigFlag: this.closeConfigFlag, // 值... 【VUE】provide和inject实现父子传值、方法 2年前 (2021-08-20) 445 0
父组件 <model :age.sync="age"/> 子组件 // 通过update:age更改 this.$emit('update:age', 999) 【VUE】通过.sync子组件修改父组件data数据 2年前 (2021-05-13) 513 0
main.js添加 Vue.directive('drag', { bind (el) { var oDiv = el oDiv.onmousedown = fun... 【VUE】拖拽自定义指令 3年前 (2021-04-07) 590 0
html标签 <a style="display:none;" ref="download"></a> js代码 res.data为后端接口返回的... 【VUE】处理后端返回的文件流并下载文件 3年前 (2021-03-04) 660 0