09 2021 档案
摘要:npm install echarts --save mian.js 引用 import * as echarts from 'echarts'; app.config.globalProperties.$echarts = echarts; <template> <div class="home"
阅读全文
摘要:子组件 <template> <picker v-if="arr.length*1" @change="bindPickerChange" :value="opChange(num,arr,'value')" :range-key="'label'" :range="arr"> <slot name
阅读全文
摘要:父组件 <template> <div> <apiSelect @item="apiSelectM" /> </div> </template> <script> import apiSelect from "@/components/apiSelect"; export default { dat
阅读全文
摘要:cd existing_foldergit initgit remote add origin http://1xxxxxxxxxxxxxxxxxxgit add .git commit -m "Initial commit"git push -u origin master
阅读全文
摘要:<view style="overflow: auto;display: flex;"> <view v-for="i in 10" :key="i" style="height:100px;width: 100px;margin-right: 30px;background: red;flex:
阅读全文
摘要:1.新建一个项目包放彩色图标,并下载压缩包 然后 解压并进入cmd 进入项目包安装iconfont 的字体文件包iconfont-tools(npm i -g iconfont-tools) 输入iconfont-tools 然后默认一直回车即可 生成的包复制入项目 <view class="cai
阅读全文
摘要:1,vue中安装wangEditor 使用的npm安装 npm install wangeditor --save 2,创建公用组件 在components中创建wangEnduit文件夹 组件内容为 <template lang="html"> <div class="editor"> <div
阅读全文
浙公网安备 33010602011771号