瀏覽代碼

fixed #420

ali 2 年之前
父節點
當前提交
3d8fc5f43e
共有 1 個文件被更改,包括 8 次插入 和 8 次删除
  1. 8 8
      src/components/Widgets/ContentCategory/ContentCategoryShow/ContentCategoryShow.vue

+ 8 - 8
src/components/Widgets/ContentCategory/ContentCategoryShow/ContentCategoryShow.vue

@@ -20,14 +20,14 @@
       </div>
     </div>
     <q-banner class="ContentCategoryShow-banner">
-      محصولات
+      محتواهای
       {{ contentCategory.title }}
     </q-banner>
     <entity-index v-if="mounted && contentCategory.id"
                   ref="entityIndex"
-                  v-model:value="productInputs"
+                  v-model:value="contentInputs"
                   class="product-index"
-                  :api="productApi"
+                  :api="contentApi"
                   :table="table"
                   :table-keys="tableKeys"
                   :table-grid-size="true"
@@ -36,18 +36,18 @@
                   :show-expand-button="false"
                   :show-reload-button="false">
       <template #entity-index-table-item-cell="{inputData}">
-        <product-item :product="getProduct(inputData.props.row)" />
+        <content-item :content="getContent(inputData.props.row)" />
       </template>
     </entity-index>
     <q-banner class="ContentCategoryShow-banner">
-      محتواهای
+      محصولات
       {{ contentCategory.title }}
     </q-banner>
     <entity-index v-if="mounted && contentCategory.id"
                   ref="entityIndex"
-                  v-model:value="contentInputs"
+                  v-model:value="productInputs"
                   class="product-index"
-                  :api="contentApi"
+                  :api="productApi"
                   :table="table"
                   :table-keys="tableKeys"
                   :table-grid-size="true"
@@ -56,7 +56,7 @@
                   :show-expand-button="false"
                   :show-reload-button="false">
       <template #entity-index-table-item-cell="{inputData}">
-        <content-item :content="getContent(inputData.props.row)" />
+        <product-item :product="getProduct(inputData.props.row)" />
       </template>
     </entity-index>
   </div>