admin/src/views/business/goodsLabels.vue
@@ -68,6 +68,7 @@ import TableLayout from '@/layouts/TableLayout' import Pagination from '@/components/common/Pagination' import OperaGoodsLabelsWindow from '@/components/business/OperaGoodsLabelsWindow' import {updateStatusById} from "@/api/business/labels"; export default { name: 'ProductLabel', extends: BaseTable, @@ -94,7 +95,7 @@ }, methods: { statusChange (row) { this.api.updateById({ id: row.id, status: row.status }) this.api.updateStatusById({ id: row.id, status: row.status }) .then(() => { this.$message.success('操作成功') })