上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 下面是配置项: barsOptions: { color: ["#ffdf25", "#36a9ce", "#d0e17d"], tooltip: { trigger: "axis", axisPointer: { type: "shadow", }, }, legend: { data: ["苯" 阅读全文
posted @ 2021-02-01 17:07 伟笑 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: 暴力解决方法:App.vue中添加这段代码,刷新后重置到默认的路由 mounted(){ this.$router.push('/') } 阅读全文
posted @ 2021-01-29 15:11 伟笑 阅读(90) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="page"> <el-table :data="tableData" ref="singleTable" highlight-current-row border style="width: 100%" > <el-table-column label= 阅读全文
posted @ 2021-01-28 17:13 伟笑 阅读(3877) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_43180359/article/details/106213668 https://www.jianshu.com/p/7d998aae1fd7 阅读全文
posted @ 2021-01-28 10:12 伟笑 阅读(2052) 评论(0) 推荐(0) 编辑
摘要: 1、带tab 切换的 <template> <div :id="id" class="o-echarts" style="height:800px;width:600px;"></div> </template> <script> import * as echarts from 'echarts' 阅读全文
posted @ 2021-01-25 11:02 伟笑 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 要在created 里面才能打印出路由信息。 created() { console.log(this.$route) //获取当前路由元信息 console.log(this.$router.options) //获取整个路由表信息 console.log(this['$router'].opti 阅读全文
posted @ 2021-01-21 17:55 伟笑 阅读(154) 评论(0) 推荐(0) 编辑
摘要: demo: <template> <div class="fluid container"> <div class="form-group form-group-lg panel panel-default"> <div class="panel-heading"> <h3 class="panel 阅读全文
posted @ 2021-01-20 16:23 伟笑 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 文件目录: i18n.js: import Vue from 'vue' import VueI18n from 'vue-i18n' import en from './lang/en' import cn from './lang/cn' import enLocale from 'elemen 阅读全文
posted @ 2021-01-20 10:52 伟笑 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 因为 new Vue 构造函数执行时候vue就使用object.defineproperty的set 和get 属性进行了双向绑定,data中的数据必须事先定义好才能监听到,所以要想自定义往data中添加数据并且是响应式的 就要使用vue内部基于 object.defineproperty封装的 v 阅读全文
posted @ 2021-01-19 11:17 伟笑 阅读(2265) 评论(0) 推荐(0) 编辑
摘要: 3. 无重复字符的最长子串 思路: 创建一个队列,在队列里采用窗口滑动模式,向右挪到。 1、创建一个new Set() 构造函数 2、定义两个指针(嵌套for循环),第一个指针指向字符串开头不动 (j),第二个随着for循环移动遍历字符串(i) 3、如果set里面没有s[i] ,说明还没重复的字符串 阅读全文
posted @ 2021-01-13 18:35 伟笑 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页