vue 注册全局基础组件 使用了 webpack (或在内部使用了 webpack 的 Vue CLI 3+),那么就可以使用 require.context 在src/main.js写入以下关键代码 必须在根 Vue 实例 (通过 new Vue) 创建之前发生 import Vue from ' ...
分类:
其他好文 时间:
2020-06-24 15:52:15
阅读次数:
45
自定义的属性如下: <declare-styleable name="TriangleView"> <!--模式--> <attr name="tlv_mode"> <!--倒三角--> <enum name="inverted" value="0" /> <!--正三角--> <enum name ...
分类:
其他好文 时间:
2020-06-24 14:14:32
阅读次数:
201
[-]keystore操作运行时签名文件路径debug生成签名文件打包时使用获取MD5和SH1修改keystore文件密码修改keystore文件别名修改keystore文件别名的密码总结附录keystore操作1.运行时签名文件路径(debug)de>/home/xiaoq/.android/de ...
分类:
其他好文 时间:
2020-06-23 17:30:53
阅读次数:
48
nginx指定文件路径有两种方式root和alias,指令的使用方法和作用域: [root]语法:root path默认值:root html配置段:http、server、location、if[alias]语法:alias path配置段:location root与alias主要区别在于ngi ...
分类:
其他好文 时间:
2020-06-23 13:41:20
阅读次数:
51
1、如何快速重启linux系统?reboot 2、如何快速删除光标前、后的内容? 前 ctrl+u ,后ctrl+k 3、如何快速删除 /temp 目录下以a开头的文件?rm -rf /temp/a* 4、系统重要文件需要备份,如何把、/etc/passwd 备份到 /tmp 目录下?cp -r / ...
分类:
其他好文 时间:
2020-06-22 21:11:48
阅读次数:
89
【把docker中容器时db002里面的my.cnf文件拷贝到根目录下】 docker cp db002:/etc/mysql/my.cnf ~/root/ 【把根目录下my.cnf文件拷贝到docker中容器时db002里面】 docker cp ~/root/my.cnf db002:/etc/ ...
分类:
其他好文 时间:
2020-06-22 17:14:36
阅读次数:
51
将/etc/profile文件拷贝到/tmp下,并用vim打开/tmp/profile在命令模式下删除行首的空白字符[root@centos7~]#cp/etc/profile/tmp/profile[root@centos7~]#cat/tmp/profile#/etc/profile#Systemwideenvironmentandstartupprograms,forloginsetup#F
分类:
系统相关 时间:
2020-06-22 09:18:53
阅读次数:
95
cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG /etc/init.d/slapd stop rm -rf /var/lib/ldap/* rm -rf /etc/openldap/slapd.d/* ...
分类:
其他好文 时间:
2020-06-21 15:41:36
阅读次数:
74
更换源 使用清华源,将清华镜像网站的配置粘贴即可 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 将上文连接中的配置粘贴到sources.list sudo cp /etc/apt/sources.list /etc/apt/sources.lis ...
分类:
系统相关 时间:
2020-06-20 18:48:08
阅读次数:
53
scp 是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且 scp传输是加密的。可能会稍微影响一下速度。当你服务器硬盘变为只读 read only system时,用scp可以帮你把文件移出来。另 外,scp还 ...
分类:
其他好文 时间:
2020-06-20 18:38:39
阅读次数:
55