1.重置data中的所有数据Object.assign(this.$data, this.$options.data())this.$data:是现阶段的data数据,就是改变后的data数据this.$options.data():...
Github在国内访问很慢,有时clone仓库半天都下不来,这时候可以通过代理网站ghproxy.com下载:**git clone https://ghproxy.com/https://github.com/GithubUser/...
# 一次性代理git clone -c http.proxy="http://127.0.0.1:1087" https://github.com/全局设置代理git config --global http.https://gith...
递归组件 TreeView.vue其中 treeButton 这个slot需要传递进递归的组件内<template> <ul> <template v-for="item in tr...