修复前台修改个人信息 报错错误 -> https://guangdagit.com/beike/beikeshop/issues/245
This commit is contained in:
parent
f399bd04cb
commit
9ec42fb6f7
|
|
@ -3,7 +3,6 @@
|
||||||
@section('body-class', 'page-account-edit')
|
@section('body-class', 'page-account-edit')
|
||||||
|
|
||||||
@push('header')
|
@push('header')
|
||||||
{{-- <script src="{{ asset('vendor/vue/2.6.14/vue.js') }}"></script> --}}
|
|
||||||
<script src="{{ asset('vendor/cropper/cropper.min.js') }}"></script>
|
<script src="{{ asset('vendor/cropper/cropper.min.js') }}"></script>
|
||||||
<link rel="stylesheet" href="{{ asset('vendor/cropper/cropper.min.css') }}">
|
<link rel="stylesheet" href="{{ asset('vendor/cropper/cropper.min.css') }}">
|
||||||
@endpush
|
@endpush
|
||||||
|
|
@ -13,13 +12,6 @@
|
||||||
|
|
||||||
<x-shop-breadcrumb type="static" value="account.edit.index" />
|
<x-shop-breadcrumb type="static" value="account.edit.index" />
|
||||||
|
|
||||||
{{-- <nav aria-label="breadcrumb">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
|
||||||
<li class="breadcrumb-item active" aria-current="page">Library</li>
|
|
||||||
</ol>
|
|
||||||
</nav> --}}
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<x-shop-sidebar />
|
<x-shop-sidebar />
|
||||||
|
|
||||||
|
|
@ -58,15 +50,13 @@
|
||||||
value="{{ old('name', $customer->name ?? '') }}" required>
|
value="{{ old('name', $customer->name ?? '') }}" required>
|
||||||
<span class="invalid-feedback"
|
<span class="invalid-feedback"
|
||||||
role="alert">{{ $errors->has('name') ? $errors->first('name') : __('common.error_required', ['name' => __('shop/account.edit.name')]) }}</span>
|
role="alert">{{ $errors->has('name') ? $errors->first('name') : __('common.error_required', ['name' => __('shop/account.edit.name')]) }}</span>
|
||||||
{{-- @if ($errors->has('name'))@endif --}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<label class="form-label">{{ __('shop/account.edit.email') }}</label>
|
<label class="form-label">{{ __('shop/account.edit.email') }}</label>
|
||||||
<input class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}" type="email"
|
<input class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}" type="email"
|
||||||
name="email" value="{{ old('name', $customer->email ?? '') }}" required>
|
name="email" value="{{ old('email', $customer->email ?? '') }}" required>
|
||||||
<span class="invalid-feedback"
|
<span class="invalid-feedback"
|
||||||
role="alert">{{ $errors->has('email') ? $errors->first('email') : __('common.error_required', ['name' => __('shop/account.edit.email')]) }}</span>
|
role="alert">{{ $errors->has('email') ? $errors->first('email') : __('common.error_required', ['name' => __('shop/account.edit.email')]) }}</span>
|
||||||
{{-- @if ($errors->has('email'))@endif --}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 mt-4">
|
<div class="col-12 mt-4">
|
||||||
<button class="btn btn-primary mt-sm-0" type="submit">{{ __('common.submit') }}</button>
|
<button class="btn btn-primary mt-sm-0" type="submit">{{ __('common.submit') }}</button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue