![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
王懿诺
这个作者很懒,什么都没留下…
展开
-
el-tree只能点击最后⼀级
el-tree只能点击最后⼀级原创 2022-10-17 18:16:12 · 2234 阅读 · 0 评论 -
vue中ant-design-vue的安装和使用(vue2安装不了的原因)
Ant Design Vue的安装和使用原创 2022-07-19 10:48:43 · 2872 阅读 · 0 评论 -
Vuex基础 vuex
vuex基础实现加减计数器,对State, Mutations, Actions, Getters的使用原创 2022-07-18 11:44:53 · 306 阅读 · 0 评论 -
创建Vue项目
vue初始化创建项目原创 2022-06-29 11:52:47 · 87 阅读 · 0 评论 -
Vue 绑定css和class :style :
:style :class原创 2022-05-29 01:27:21 · 104 阅读 · 0 评论 -
vue echarts
1.安装npm install echarts --save<template> <div> <!-- 面包屑导航区域 --> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item> <el-bre原创 2022-02-28 23:07:01 · 86 阅读 · 0 评论 -
vue 深拷贝 需要下载lodash (原因:级联选择器只支持数组,后台接口只支持字符串,使用该lodash的深拷贝解决问题)
具体使用方式安装npm i --save lodash引入 lodash cloneDeep(obj) 原因:级联选择器只支持数组,后台接口只支持字符串,使用该lodash的深拷贝解决问题原创 2022-02-26 22:47:23 · 516 阅读 · 0 评论 -
vue富文本vue-quill-editor
由此点击 点击这儿即可跳转转载 2022-02-22 20:37:08 · 125 阅读 · 0 评论 -
vue上传图片功能
<el-tab-pane label="商品图片" name="3"> <!-- action 表示图片要上传到的后台API地址 --> <el-upload :action="uploadURL" :on-preview="handlePreview" :on-remove="handleRemove" list-type="picture" :headers="headerObj" :on-success="handleSuccess"> <el原创 2022-02-22 20:11:27 · 337 阅读 · 0 评论 -
Vue严格模式 处理项目中Eslintrc 输入运行命令自动打开浏览器
1.在根目录文件夹下创建.prettierrc{ //取消分号 "semi": false, //用单引号表示字符串 "singleQuote": true}2.在根目录文件夹下.eslintrc.jsmodule.exports = { root: true, env: { node: true, }, extends: ['plugin:vue/essential', '@vue/standard'], // rules是所有语法规则 rules: {原创 2022-01-22 19:27:46 · 311 阅读 · 0 评论 -
Vue里时间显示
<td>{{item.add_time*1000 | timeFormat}}</td>// 时间戳转换function timestampToTime(timestamp) { let date = new Date(timestamp) var YY = date.getFullYear() + '-' var MM = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.原创 2022-01-22 23:31:38 · 141 阅读 · 0 评论 -
vue-table-with-tree-grid的使用
1、下载npm i vue-table-with-tree-grid -S2、引入(一般是使用第一个)import Vue from 'vue'import TreeTable from 'vue-table-with-tree-grid'Vue.component('tree-table', TreeTable)Orimport Vue from 'vue'import ZkTable from 'vue-table-with-tree-grid'Vue.use(ZkTable)原创 2022-02-20 21:23:58 · 724 阅读 · 0 评论