Skip to content

Commit

Permalink
feature: remove polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
krissss committed Sep 20, 2022
1 parent b543c09 commit f18457c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ class AmisModuleChange2User extends AmisModuleChangeMiddleware
```

3. 在响应的路由或全局中间件中引入 `AmisModuleChange2User`

## 注意点

1. 如果使用 LaravelValidator,校验 file 时需要安装依赖:`webman-tech/polyfill`
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"webman-tech/polyfill": "^1.0"
"ext-json": "*"
},
"require-dev": {
"workerman/webman-framework": "^1.3",
"illuminate/database": "^8.83",
"illuminate/pagination": "^8.83",
"illuminate/validation": "^8.83"
"illuminate/validation": "^8.83",
"webman-tech/polyfill": "^1.0"
}
}

0 comments on commit f18457c

Please sign in to comment.