Commit ce9764d8 by 无尘

fix: 修改标签排序

parent 502b324e
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 13:52:05
* @LastEditTime: 2020-09-08 13:59:43
-->
<template>
......@@ -32,7 +32,7 @@
style="width: 100%">
<el-table-column prop="" label="" width="56" class-name="move-row-cell">
<template>
<span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span>
<span v-if="currentClassify == ''" class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span>
</template>
</el-table-column>
<el-table-column
......@@ -161,6 +161,7 @@ export default {
Sortable.create(tbody, {
onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex || that.currentClassify != '') {
that.currentClassify != '' ? that.getTableList() : '';
return false;
}
let arr = JSON.parse(JSON.stringify(that[data]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment