1
0
mirror of https://github.com/cjango/dcat-vue.git synced 2025-12-06 22:40:03 +08:00

直传版图片裁剪

This commit is contained in:
weiwait
2022-07-04 17:24:11 +08:00
parent 0c205303cb
commit 00f96f29a3
7 changed files with 833 additions and 301 deletions

View 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>