上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: <!-- 重要的是这段: shoppingCarList.slice((pageIndex-1)*pageSize,pageIndex*pageSize) --><el-table :data="shoppingCarList.slice((pageIndex-1)*pageSize,pageInd 阅读全文
posted @ 2021-02-22 15:36 科技改变未来☆ 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 去掉ref所在的标签v-if判断即可。 带有v-if判断的标签,加上ref会获取不到值 阅读全文
posted @ 2021-02-20 15:53 科技改变未来☆ 阅读(172) 评论(0) 推荐(0) 编辑
摘要: linux系统: sudo gedit /etc/mysql/my.cnf 加上这两句: 阅读全文
posted @ 2021-02-15 12:24 科技改变未来☆ 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 第一步执行以下语句: select version(), @@sql_mode;SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); 再运行下: show variables like "sql_mode"; set s 阅读全文
posted @ 2021-02-13 11:53 科技改变未来☆ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.VisualStudio.TestTools.UnitTesting; using _5118Enterprise.Api.Helper; using System; using System.Collections.Generic; using System.Tex 阅读全文
posted @ 2021-02-03 13:45 科技改变未来☆ 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 效果图: 关键代码: var options = { legend: false, gridLines: { display: false }, // labels: { // style: { // fontSize: "16", // color: "#fff", // }, // }, too 阅读全文
posted @ 2021-01-05 15:18 科技改变未来☆ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1、参考配置下 https://blog.csdn.net/qq_37600506/article/details/105415753 2.遇到的问题: 1、图片跨域(后端设置允许跨域,或者把图片放到同一域名下) 2、截图不全 3、滚动条无法截全(滚动条) 截图不全的解决方法: 滚动条截图不全的问题 阅读全文
posted @ 2020-12-31 20:11 科技改变未来☆ 阅读(147) 评论(0) 推荐(0) 编辑
摘要: ubuntu修改时间为北京时间 查看当前时区 root@ubuntu:/# date -R 修改时区 root@ubuntu:/# tzselect 复制文件到/etc目录下 root@ubuntu:/# cp /usr/share/zoneinfo/Asia/Shanghai /etc/local 阅读全文
posted @ 2020-12-12 11:50 科技改变未来☆ 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 在settings.json中添加: "emmet.includeLanguages": { "vue": "html", "vue-html": "html" } 阅读全文
posted @ 2020-11-29 15:12 科技改变未来☆ 阅读(626) 评论(0) 推荐(0) 编辑
摘要: "plugins": [ "transform-vue-jsx", "transform-runtime", [ "import", { "libraryName": "vant", "style": true } ] ] 阅读全文
posted @ 2020-11-22 13:09 科技改变未来☆ 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 如何安装docker 1、 如何部署 2、 如何运行 自动生成环境文件 pip freeze > requirements.txt 切换到要创建镜像的文件夹,新建一个文件叫Dockerfile【注意最后面有个点,表示当前】 docker build -t 镜像名 . 创建容器 格式:docker r 阅读全文
posted @ 2020-11-20 16:32 科技改变未来☆ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 看文档大意了,原来是写在column的属性 sort-orders用来控制点击的顺序 代码参考: 阅读全文
posted @ 2020-11-04 10:58 科技改变未来☆ 阅读(287) 评论(0) 推荐(0) 编辑
摘要: this.$forceUpdate() 阅读全文
posted @ 2020-11-02 18:07 科技改变未来☆ 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 效果: 注意:slot="content" 用来插入html html: <el-tooltip popper-class="trade-tip" value manual class="item1" placement="top-start"> <div>测试</div> <div slot="c 阅读全文
posted @ 2020-10-29 16:46 科技改变未来☆ 阅读(1447) 评论(0) 推荐(1) 编辑
摘要: 注意:以下方法只适合获取对象下的属性,不支持数组,如果需要读取数组的要改下方法 html: <label class="lable-name" @click="tm('filters.rank')">测试</label> vue data: vue method: tm(name) { consol 阅读全文
posted @ 2020-10-28 10:42 科技改变未来☆ 阅读(737) 评论(0) 推荐(0) 编辑
摘要: this.list= JSON.parse( JSON.stringify(this.list2) ) 应用场景: 有两个对象,一个是用来重置的,需要重置的时候直接把对象赋值过去即可。赋值就涉及到双向绑定了,用以上方法解决即可 阅读全文
posted @ 2020-10-24 15:10 科技改变未来☆ 阅读(249) 评论(0) 推荐(0) 编辑
摘要: <input v-on:keyup.enter="submit"> 如不生效加上 native <input v-on:keyup.enter.native="submit"> 阅读全文
posted @ 2020-10-23 22:11 科技改变未来☆ 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 需求是表头加个图标,保留排序功能 questionIcon(h, { column, $index }) { console.log(h); console.log(column); console.log($index); return h("span", [ h("span", { class: 阅读全文
posted @ 2020-10-22 11:33 科技改变未来☆ 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 转载: https://www.cnblogs.com/sandyyeh/p/9198757.html 阅读全文
posted @ 2020-10-20 15:29 科技改变未来☆ 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 需要修改两个地方 sudo gedit /etc/hostname sudo gedit /etc/hosts 阅读全文
posted @ 2020-10-11 18:41 科技改变未来☆ 阅读(213) 评论(0) 推荐(0) 编辑
摘要: var WebpackObfuscator = require('webpack-obfuscator'); pack_conf.plugins = [new WebpackObfuscator({ rotationUnicodeArray: true })] 一开始用uglify,但是效果不理想, 阅读全文
posted @ 2020-09-28 11:27 科技改变未来☆ 阅读(248) 评论(0) 推荐(0) 编辑
摘要: // 定义数组,数组元素用逗号隔开 $liColor:#f5ad1b,#5f89ce,#94bf45,#da8ec5,#78bfc2,#bec278; // 开始 @each 循环遍历数组 // $c 作为循环变量,代表了数组的元素,不是索引~!!! @each $c in $liColor{ $i 阅读全文
posted @ 2020-09-21 16:25 科技改变未来☆ 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 原因是写的组件,用了v-if判断的一个属性,这个show属性默认值为false,改成true即可。 总结:也就是隐藏和显示会影响到焦点focus的设置 阅读全文
posted @ 2020-09-18 10:58 科技改变未来☆ 阅读(452) 评论(0) 推荐(0) 编辑
摘要: css: .flicker { /*background-color: #d7e3f6;*/ background-color: white; animation-iteration-count: 3; animation: twinkle 0.3s infinite alternate; -web 阅读全文
posted @ 2020-09-17 17:54 科技改变未来☆ 阅读(252) 评论(0) 推荐(0) 编辑
摘要: public ActionResult TestAction() { var otherController = DependencyResolver.Current.GetService<另一个控制器的类名>(); var result = otherController.另一个动作方法(); / 阅读全文
posted @ 2020-09-10 16:26 科技改变未来☆ 阅读(319) 评论(0) 推荐(0) 编辑
摘要: position: absolute; top: 38%; left: 50%; transform: translate(-50%,-10%); 主要是这句可以根据内容长短进行居中: transform: translate(-50%,-10%) 调整以上参数即可实现居中,或定位 阅读全文
posted @ 2020-09-10 11:28 科技改变未来☆ 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 解决过程: 我的路径是: /usr/lib/python3.5/lib-dynload 进去找一个名字有_bz2的so文件 我这里的名字是_bz2.cpython-35m.arm-linux.so 我是放到python3.7里面使用的,要改下名字_bz2.cpython-37m.arm-linux. 阅读全文
posted @ 2020-09-08 20:18 科技改变未来☆ 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 安装命令: $ curl -fsSL https://get.docker.com -o get-docker.sh $ sudo sh get-docker.sh 注意:如果不运行以下命令则会提示command not found sudo usermod -aG docker your-user 阅读全文
posted @ 2020-09-03 15:12 科技改变未来☆ 阅读(3771) 评论(0) 推荐(1) 编辑
摘要: 原来的写法: np.isnan(df['E'][i]) df['E'][i]里面的内容是字符串,报错提示输入类型的问题,因此我换了pandas的 改成: pd.isna(data['E'][i]) 阅读全文
posted @ 2020-08-27 16:27 科技改变未来☆ 阅读(1741) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd dd = {'c1':[],'c2':[]}df = pd.DataFrame(dict([(k, pd.Series(v)) for k, v in dd.items()])) 阅读全文
posted @ 2020-08-27 15:27 科技改变未来☆ 阅读(596) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页