摘要: This component is used to purposely render a component only on client-side. To import a component only on the client, register the component in a clie 阅读全文
posted @ 2021-04-06 21:10 Ellen_Fu 阅读(87) 评论(0) 推荐(0) 编辑
摘要: git config --global credential.helper store 阅读全文
posted @ 2021-04-06 16:44 Ellen_Fu 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 配置 test.site.com <VirtualHost *:80>标签内 解决 vue reload 404 配置static.site.com < VirtualHost *:80>标签内 解决 (access-control-allow-origin)跨域问题 阅读全文
posted @ 2019-12-25 19:19 Ellen_Fu 阅读(257) 评论(0) 推荐(0) 编辑
摘要: type MyInterface interface{ Print() } func TestFunc(x MyInterface) {} type MyStruct struct {} func (me MyStruct) Print() {} func main() { var me MyStruct TestFunc(me) } 阅读全文
posted @ 2019-12-18 13:57 Ellen_Fu 阅读(66) 评论(0) 推荐(0) 编辑
摘要: vscode自动安装失败,执行手动安装 第一步先在%GOPATH%\src\golang.org\x目录下打开git bash,执行git clone http://github.com/golang/tools。必须用git来clone,否则安装其他组件如go get -u -v github.c 阅读全文
posted @ 2019-12-13 17:37 Ellen_Fu 阅读(1402) 评论(0) 推荐(0) 编辑
摘要: vscode启动,出现下面提示,点安装会失败。 The "gopls" command is not available. Use "go get -v golang.org/x/tools/cmd/gopls" to install. 下面是手工解决方案: github.com中对应golang. 阅读全文
posted @ 2019-12-13 14:51 Ellen_Fu 阅读(4889) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name test.xxx.com; root /usr/share/nginx/html; location / { proxy_set_header Host $host; proxy_set_header X-Real-Ip $remote_addr; ... 阅读全文
posted @ 2018-11-21 10:40 Ellen_Fu 阅读(148) 评论(0) 推荐(0) 编辑
摘要: .... your HTML 阅读全文
posted @ 2018-10-15 15:25 Ellen_Fu 阅读(1732) 评论(0) 推荐(0) 编辑
摘要: 在一个方法内部,this是一个特殊变量,它始终指向当前对象,也就是xiaoming这个变量。所以,this.birth可以拿到xiaoming的birth属性。 单独调用函数getAge()怎么返回了NaN?请注意,我们已经进入到了JavaScript的一个大坑里。 JavaScript的函数内部如 阅读全文
posted @ 2018-10-12 16:14 Ellen_Fu 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Map JavaScript的默认对象表示方式{}可以视为其他语言中的Map或Dictionary的数据结构,即一组键值对。但是JavaScript的对象有个小问题,就是键必须是字符串。 Set 注意数字3和字符串'3'是不同的元素。 阅读全文
posted @ 2018-10-11 16:56 Ellen_Fu 阅读(1319) 评论(0) 推荐(0) 编辑