Commit b61fc407 by 无尘

fix: 去掉分类标签排序增加所有排序

parent 51a5dc60
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 12:22:54
* @LastEditTime: 2020-09-08 13:52:05
-->
<template>
......@@ -130,6 +130,8 @@ export default {
changeClass(row) {
const that = this;
that.currentClassify = row.categoryId;
that.searchVal = '';
that.tagsData = [];
that.getTableList();
},
/**
......@@ -158,7 +160,7 @@ export default {
const that = this;
Sortable.create(tbody, {
onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex) {
if (newIndex == oldIndex || that.currentClassify != '') {
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