ZCDC_Ren

Results 139 issues of ZCDC_Ren

### 解决方法 使用`this.createSelectorQuery()` ### 参考资料 https://developers.weixin.qq.com/community/develop/doc/000aa0f17a8af0e02d7c0ca5e56800

小程序

### 报错信息 ``` error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try brew install xyz, where xyz is the package you are trying to...

Python

修改配置文件 `/usr/local/Cellar/goaccess/1.9.1/etc/goaccess/goaccess.conf` ``` time-format %H:%M:%S date-format %d/%b/%Y log-format %h - %e %^[%d:%t %^] "%r" %s %b "%R" "%u" ```

Linux

命令修改下 ``` LANG="en_US.UTF-8" zsh -c 'goaccess -a -d -f /Volumes/Data/access.log -o /Volumes/Data/goaccess.html' ```

Linux

eslint配置rules ```json { "rules": { "space-before-blocks": "off", "keyword-spacing": "off" } } ``` prettier配置 ```json { "htmlWhitespaceSensitivity": "ignore", } ```

Vue

### 解决方法 在页面ts文件中加入 ```ts export {} ``` ### 参考资料 https://developers.weixin.qq.com/community/develop/doc/00082a6fc70e58c94bf936f035b400

小程序

### 报错信息 ``` NPM packages not found. Please confirm npm packages which need to build are belong to `miniprogramRoot` directory. Or you may edit project.config.json's `packNpmManually` and `packNpmRelationList` ``` ###...

小程序

在终端运行 ```shell defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder ``` ![image](https://github.com/klren0312/daliy_knowledge/assets/10903843/4481ebef-ce80-481a-9d1b-3224a231567c)

闲扯

开启dns ``` dns: enable: true listen: 0.0.0.0:53 # ipv6: false # 当为 false 时, AAAA 查询的响应将为空 # 这些 名称服务器(nameservers) 用于解析下列 DNS 名称服务器主机名. # 仅指定 IP 地址 default-nameserver: - 114.114.114.114 -...

Tools

```js const jsplumbInst = jsplumb.newInstance({container: '...'}) // ... const arr = jsplumbInst.connections if (arr.length > 0) { for (let i = arr.length - 1; i >= 0; i--) { jsplumbInst.deleteConnection(arr[0],...

JS