随笔分类 - Vue
摘要:import Vue from 'vue' import VueClipboard from 'vue-clipboard2' Vue.use(VueClipboard) 法一: <template id="t"> <div class="container"> <input type="text"
阅读全文
摘要:<div class="type"> <input @click="selectTypeShow =!selectTypeShow" :placeholder="请选择类型" :value="selectedType.type"> <i></i> <ul class="wrap" v-if="sel
阅读全文
摘要:父组件 <div class="uploadFile"> <uploadFile v-model="uploadImg" uploadImg="uploadFileImg" @change="loadImg"/> </div> loadImg(file){ if(file){ this.upload
阅读全文
摘要:HTML <div class="code"> <input @click="selectShow =!selectShow" readonly="readonly" :placeholder="$lang.inputCoin" :value="selected.goods"> <i></i> <u
阅读全文
摘要:<input @change="fileImage" type="file" accept="image/jpeg,image/x-png,image/gif" id="" value="" /> fileImage:function(e){ var that=this; var file = e.
阅读全文
摘要:id是自己本地模拟的数据字段,tdid是后台给的数据字段 getMarketAccountOrderList(market, state, pageNumber, pageSize, filterKey, filterSort) { const mapping = { id: "tdid", mar
阅读全文
摘要:1、安装vue、vuex在main.js中引入 import Vue from 'vue' import store from './vuex' import store from './vuex' import server from './server' 2、server中文件adapter.j
阅读全文

浙公网安备 33010602011771号