first
This commit is contained in:
22
modules/Linker/README.md
Normal file
22
modules/Linker/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 链接模块
|
||||
|
||||
## 1. 使用
|
||||
|
||||
### 1. 模型 Trait
|
||||
|
||||
```php
|
||||
use Modules\Linker\Traits\HasLinker;
|
||||
```
|
||||
|
||||
### 2. laravel-admin
|
||||
|
||||
自动增加三个字段,
|
||||
1. 选择链接地址
|
||||
2. 替换链接地址里的参数
|
||||
3. 参数替换模式
|
||||
|
||||
```php
|
||||
use Modules\Linker\Traits\WithLinker;
|
||||
|
||||
$this->withUrl($form,'字段名称');
|
||||
```
|
||||
Reference in New Issue
Block a user