From 11c5ab8d97809bdeddb60b22a4fe161a67aa3b05 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期一, 19 一月 2026 16:03:17 +0800
Subject: [PATCH] 小程序 接口开发
---
admin/src/views/business/goodsLabels.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/business/goodsLabels.vue b/admin/src/views/business/goodsLabels.vue
index 671c545..6101d44 100644
--- a/admin/src/views/business/goodsLabels.vue
+++ b/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('鎿嶄綔鎴愬姛')
})
--
Gitblit v1.9.3