随笔分类 - vue
摘要://///////////////////////// 代码如下 <template> <div class="report-forms-page"> <div class="report-forms-main"> <div class="bottomForm"> <div style="margi
阅读全文
摘要:<template> <div class="com-resource-legend" style=""> <el-tabs type="card" v-model="activeTab" :tab-position="tabPosition" :stretch="false" @tab-click
阅读全文
摘要:vue Select 中< :label-in-value="true" @on-change="satusSelect"> satusSelect(val){ console.log(val); }
阅读全文
摘要:vue 验证 <Form :model="formModel" label-position="center" :label-width="90" ref="modelForm" :rules="rules"> rules: { inspectCycleValue: [ { validator: v
阅读全文
摘要:title 设置name="peo" title="" v-on:mouseenter="peoAndCarHover(item.signStatus,'peo',index)" 无index时 title mouseHover(tit) { var titlename = document.get
阅读全文
摘要:vue Table@on-selection-change="test" 已选中项数据 test(selection){} <Table :data="tableData" :columns="tableColunms" class="innerTable" @on-selection-change
阅读全文
摘要:vue select 多选 验证 <FormItem :prop="'formList.'+index+'.name'" label="姓名" :rules="{ required: true, type: 'array', min: 1, message: '输入框不能为空',trigger: '
阅读全文
摘要:验证时间范围 type="daterange" <DatePicker class="formItem" :size="size" v-model="item.transferTerm" disabled type="daterange" placement="bottom" :options="d
阅读全文
摘要:vue接口 写死的 RoleOfUserOrgRef: function ({ commit }, param) { return new Promise((resolve) => { $axios.post(`${process.env.API.stsURL}/iscAppOrgUserRelat
阅读全文
摘要:// startvue新版脚手架 //卸载旧版本npm uninstall vue-cli -g cnpm install -g @vue/cli或yarn global add @vue/cli //新版本 vue --versioncnpm install webpack -g e:cd E:\
阅读全文
摘要:// 拖拽 插件 cnpm install vuedraggableimport draggable from 'vuedraggable' <draggable v-model="tags" :move="getdata" @update="datadragEnd"> <transition-gr
阅读全文
摘要:安装 安装openlayers安装指定包安装openlayersVUE中的地图import ol from "openlayers";import "openlayers/dist/ol.css"; cnpm install openlayers --save 安装jquery cnpm insta
阅读全文
摘要:vue 安装图片查看器插件安装cnpm install v-viewer引用 import 'viewerjs/dist/viewer.css' import Viewer from 'v-viewer' import Vue from 'vue' Vue.use(Viewer)用法 render函
阅读全文
摘要:vue引入外部jsimport { TrackLine } from "../../../../../static/js/trajectory.js";import { initMap } from "../../../../../static/js/initMap.js"; 写法参照js 文件夹内
阅读全文
摘要:Vue自定义指令 <div id="app"> <input type="text" v-focus> </div> 全局注册 Vue.directive{'focus',{ //指令选项 //指令调用,元素插入父节点时调用v-focus inserted: function(el){ //聚焦元素
阅读全文

浙公网安备 33010602011771号