一些组件(例如select组件onChange/onSearch)传递props绑定事件时使用时报警告[warning] Expected Function, got Array, 导致后续触发事件时报错, 因为组件内部props事件传递给子组件时将function处理成Array了 #2107
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Open Check | |
on: | |
issues: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
issue-open-check: | |
permissions: | |
contents: read # for visiky/dingtalk-release-notify to get latest release | |
issues: write # for actions-cool/issues-helper to update issues | |
pull-requests: write # for actions-cool/issues-helper to update PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/[email protected] | |
id: checkUser | |
with: | |
require: 'write' | |
- name: check invalid | |
if: (contains(github.event.issue.body, 'issue-helper') == false) && (steps.checkUser.outputs.result == 'false') | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'create-comment,add-labels,close-issue' | |
issue-number: ${{ github.event.issue.number }} | |
labels: 'Invalid' | |
body: | | |
Hello @${{ github.event.issue.user.login }}, your issue has been closed because it does not conform to our issue requirements. Please use the [Issue Helper](https://vuecomponent.github.io/issue-helper/) to create an issue, thank you! | |
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](https://vuecomponent.github.io/issue-helper/) 来创建 issue 以方便我们定位错误。谢谢配合! |