@extends('modstart::admin.dialogFrame')

@section('bodyContent')
    <div id="app"></div>
@endsection

@section('bodyAppend')
    @parent
    <script src="@asset('asset/common/editor.js')"></script>
    <script src="@asset('asset/vendor/vue.js')"></script>
    <script src="@asset('asset/vendor/element-ui/index.js')"></script>
    <script>
        window.__data = {
            categories: {!! \ModStart\Core\Util\SerializeUtil::jsonEncode(\Module\Shop\Util\GoodsCategoryUtil::listWithIndent()) !!},
            goods: {!! \ModStart\Core\Util\SerializeUtil::jsonEncode($data) !!}
        }
    </script>
    <script src="@asset('vendor/Shop/entry/adminGoodsEdit.js')"></script>
@endsection
