diff --git a/src/components/pluginListTable.vue b/src/components/pluginListTable.vue
index d820871..99b221a 100644
--- a/src/components/pluginListTable.vue
+++ b/src/components/pluginListTable.vue
@@ -6,16 +6,16 @@
-
-
{{ scope.row.startUsing ? '启动' : '禁用' }}
+
+
{{ !scope.row.startUsing ? '启动' : '禁用' }}
-
-
{{ scope.row.pub ? '公开' : '非公开' }}
+
+
{{ !scope.row.pub ? '公开' : '非公开' }}
diff --git a/src/views/index-list/business-detail.vue b/src/views/index-list/business-detail.vue
index 70b5144..700e6d3 100644
--- a/src/views/index-list/business-detail.vue
+++ b/src/views/index-list/business-detail.vue
@@ -82,13 +82,13 @@ const data = reactive({
});
function handleSizeChange(val) {
- console.log(val);
data.pageSize = val;
+ queryPluginOfBusiness();
}
function handleCurrentChange(val) {
- console.log(val);
data.currentPage = val;
+ queryPluginOfBusiness();
}
// 复制
@@ -125,9 +125,9 @@ async function handleQueryIdBusiness(businessId) {
* @param {number} pageNum 第几页
* @param {number} pageSize 每页几条信息
*/
-async function queryPluginOfBusiness(businessId) {
+async function queryPluginOfBusiness() {
try {
- const { currentPage, pageSize } = data;
+ const { currentPage, pageSize, businessId } = data;
const params = {
param: {
businessId,