code refactoring
This commit is contained in:
1
resources/assets/js/mixins/global.js
vendored
1
resources/assets/js/mixins/global.js
vendored
@ -25,6 +25,7 @@ import AkauntingSwitch from './../components/AkauntingSwitch';
|
||||
import AkauntingSlider from './../components/AkauntingSlider';
|
||||
import AkauntingColor from './../components/AkauntingColor';
|
||||
import CardForm from './../components/CreditCard/CardForm';
|
||||
|
||||
import NProgress from 'nprogress';
|
||||
import 'nprogress/nprogress.css';
|
||||
import NProgressAxios from './../plugins/nprogress-axios';
|
||||
|
@ -118,7 +118,7 @@ const app = new Vue({
|
||||
|
||||
methods: {
|
||||
onEnd() {
|
||||
this.drag = false;
|
||||
this.dragging = false;
|
||||
},
|
||||
|
||||
onUpdate(event) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<tbody is="draggable" tag="tbody" handle=".handle" @start="drag = true" @end="drag = false" @update="onUpdate">
|
||||
<tbody is="draggable" tag="tbody" handle=".handle" @start="dragging = true" @end="dragging = false" @update="onUpdate">
|
||||
<tr v-for="(row, index) in items" :index="index">
|
||||
@stack('name_td_start')
|
||||
|
||||
|
Reference in New Issue
Block a user