优化 第三方登录 后台回调地址不必填
This commit is contained in:
parent
8ffd3b77c2
commit
49fd22944b
|
|
@ -72,7 +72,7 @@
|
||||||
<td>
|
<td>
|
||||||
<el-form-item label="" class="mb-0">
|
<el-form-item label="" class="mb-0">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input size="small" class="form-control" :value="item.callback" disabled placeholder="{{ __('Social::setting.entry_callback') }}"></input>
|
<input size="small" class="form-control" :value="item.callback" placeholder="{{ __('Social::setting.entry_callback') }}"></input>
|
||||||
<a href="javascript:void(0)" class="btn btn-outline-secondary opacity-75 copy-code" :data-clipboard-text="item.callback" @click="copyCode"><i class="bi bi-front"></i></a>
|
<a href="javascript:void(0)" class="btn btn-outline-secondary opacity-75 copy-code" :data-clipboard-text="item.callback" @click="copyCode"><i class="bi bi-front"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,6 @@
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function($) {
|
$(document).ready(function($) {
|
||||||
$('.submit-form').click(function () {
|
$('.submit-form').click(function () {
|
||||||
// $('.needs-validation').submit()
|
|
||||||
$('.needs-validation').find('button[type="submit"]').click()
|
$('.needs-validation').find('button[type="submit"]').click()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,8 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<button type="submit" class="d-none">{{ __('common.save') }}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -149,7 +151,7 @@
|
||||||
@push('footer')
|
@push('footer')
|
||||||
<script>
|
<script>
|
||||||
$('.submit-form').click(function () {
|
$('.submit-form').click(function () {
|
||||||
$('.needs-validation').submit()
|
$('.needs-validation').find('button[type="submit"]').click()
|
||||||
})
|
})
|
||||||
|
|
||||||
var app = new Vue({
|
var app = new Vue({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue