!71 加入hook

* 图片翻译插件增加hook
* 增加2个hook  admin.product.name.after   admin.product.content.after 用于实现翻译插件按钮
* 1.增加 @hook('file_manager.content.head.btns.after')
* 1.增加 @hook('file_manager.content.head.btns.after')
* 在文件管理器上加入@hook('file_manager.content.head.btns.after')
This commit is contained in:
what_村长 2023-04-03 02:47:07 +00:00 committed by Edward Yang
parent d074c123d9
commit 0362952282
2 changed files with 3 additions and 1 deletions

View File

@ -56,6 +56,7 @@
<x-admin-form-input-locale <x-admin-form-input-locale
:width="600" name="descriptions.*.name" title="{{ __('common.name') }}" :width="600" name="descriptions.*.name" title="{{ __('common.name') }}"
:value="$descriptions" :required="true" /> :value="$descriptions" :required="true" />
@hook('admin.product.name.after')
<x-admin::form.row title="{{ __('common.image') }}"> <x-admin::form.row title="{{ __('common.image') }}">
<draggable <draggable
element="div" element="div"
@ -309,6 +310,7 @@
</textarea> </textarea>
</div> </div>
@endforeach @endforeach
@hook('admin.product.content.after')
</div> </div>
</x-admin::form.row> </x-admin::form.row>
</div> </div>