|
@@ -26,7 +26,7 @@
|
|
|
label="排序"
|
|
|
width="100" v-if="type == 'add'">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="text" size="mini" @input="onInput()" v-model="scope.row.sequence"></el-input>
|
|
|
+ <el-input type="text" size="mini" @input="onInput($event,scope.row)" v-model="scope.row.sequence"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -108,6 +108,7 @@
|
|
|
|
|
|
<script>
|
|
|
import previewImage from '@/components/previewImage/index'
|
|
|
+import { log } from '@antv/g2plot/lib/utils'
|
|
|
|
|
|
export default {
|
|
|
components:{
|
|
@@ -137,7 +138,7 @@ export default {
|
|
|
res.code === 1?this.$emit('onSuccess'):this.tool.showMessage(res)
|
|
|
|
|
|
},
|
|
|
- onInput () {
|
|
|
+ onInput ($event,data) {
|
|
|
this.$forceUpdate()
|
|
|
},
|
|
|
deleteProduct (row) {
|