Skip to content

Commit

Permalink
fix(create_products): products->product
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream authored and CrazyWisdom committed Jul 8, 2019
1 parent ed4e957 commit b1120ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="create-products-view">
<div class="create-product-view">
<emq-dialog
:title="$t('products.createProduct')"
:visible.sync="visible"
Expand Down Expand Up @@ -74,7 +74,7 @@ import EmqDialog from '@/components/EmqDialog'
import { httpPost } from '@/utils/api'
export default {
name: 'create-products-view',
name: 'create-product-view',
components: {
EmqDialog,
Expand Down
6 changes: 3 additions & 3 deletions ui/src/apps/devices/views/DeviceCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</emq-details-page-head>

<!-- Create Product -->
<create-products :dialogVisible.sync="productsDialogVisible"></create-products>
<create-product :dialogVisible.sync="productsDialogVisible·"></create-product>
<!-- Create Cert -->
<create-cert :dialogVisible.sync="createCertDialogVisible"></create-cert>

Expand Down Expand Up @@ -606,8 +606,8 @@ import EmqButton from '@/components/EmqButton'
import EmqSelect from '@/components/EmqSelect'
import EmqSearchSelect from '@/components/EmqSearchSelect'
import EmqDetailsPageHead from '@/components/EmqDetailsPageHead'
import CreateProducts from '../components/CreateProducts'
import CreateCert from '../components/CreateCert'
import CreateProduct from '../components/CreateProduct'
import LocationSelectDialog from '../components/LocationSelectDialog'
export default {
Expand All @@ -616,7 +616,7 @@ export default {
components: {
EmqDialog,
EmqDetailsPageHead,
CreateProducts,
CreateProduct,
EmqButton,
EmqSelect,
LocationSelectDialog,
Expand Down

0 comments on commit b1120ab

Please sign in to comment.