
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
1、data(){}中引入图片{icon: require('@/assets/images/modules-a5.png'),text: '图片',type: 'ui-picture'}或者{icon: require('../../assets/images/modules-picture.png'),text: '图片',...
<vue-draggable-resizable@activated = "onActivated({index: index, index2: index2})"@dragging = "onDrag"@resizing = "onResize"@dragstop = "onDragStop({index: index, index2: index2})"@resiz...
安装npm install vuedraggable引入import draggable from 'vuedraggable'注册components: {draggable}html<draggable class="list" v-model="modules" :clone="clone" :options="{group: {name...
ckplayer 是一款能解决基本兼容性网页视频播放的插件,该插件不需要基于其他库使用。var videoObject = {container: '#video',// 容器的ID或classNamevariable: 'player',// 播放函数名称autoplay: false,...
Vue.prototype.$ELEMENT = 30000Vue.use(elementui, { zIndex: 30000 })
1、el-button<el-button type="primary" @click="submit('former')" native-type="submit">立即登录</el-button>2、el-input<el-input v-model="form.user" @keyup.enter.native="submit('form')"&...
1、 比如给对象新增了一个属性,但是页面并没有刷新,这里因为数据层次太多,没有触发render函数进行自动更新,需手动调用。this.$forceUpdate();2、$set 设置值...
1、下载安装依赖包npm install babel-plugin-syntax-jsx babel-plugin-transform-vue-jsx babel-helper-vue-jsx-merge-props babel-preset-env --save-dev2、项目根目录下新建.babelrc 文件,并写入代码{"presets": [...
创建一个基于 webpack 模板的新项目(2019.03.14 测试)1、进入文件目录,然后调起命令行工具,输入:#wwwroot 为自定义项目名$ vue init webpack wwwroot2、运行命令后,会让用户输入几个基本选项:? Project name wwwroot// 项目名称? Project description a vue.js proj...
<!-- 图片剪裁 --><el-dialogtitle="图片剪裁"width="860px":visible.sync="cropperVisible":before-close="cropperClose"><div class="cropper-wrapper clearfix"><div class="cropper...







