mirror of
https://github.com/cjango/dcat-vue.git
synced 2025-12-06 22:40:03 +08:00
直传版图片裁剪
This commit is contained in:
17
resources/views/image.blade.php
Normal file
17
resources/views/image.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
@php($id = $column . random_int(123456, 987654))
|
||||
|
||||
<div class="{{$viewClass['form-group']}}" >
|
||||
|
||||
<label class="{{$viewClass['label']}} control-label pt-0">{!! $label !!}</label>
|
||||
|
||||
<div class="{{$viewClass['field']}}" id="{{ $id }}">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" id="{{$column}}">
|
||||
import app from '/vendor/dcat-admin-extensions/weiwait/dcat-vue/js/index.js';
|
||||
const App = app()
|
||||
|
||||
App.provide('provides', @json($provides, true))
|
||||
App.mount('#{{ $id }}')
|
||||
</script>
|
||||
Reference in New Issue
Block a user