Commit e9ba650b authored by Garima Jain's avatar Garima Jain

Removed console warnings

parent 68620f42
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
{ {
"name": "mcart", "name": "mcart",
"version": "0.1.12", "version": "0.1.13",
"private": false, "private": false,
"main": "./dist/mComponents.common.js", "main": "./dist/mComponents.common.js",
"files": [ "files": [
......
...@@ -84,7 +84,6 @@ export default { ...@@ -84,7 +84,6 @@ export default {
.then((res) => res.json()) .then((res) => res.json())
.then((res) => { .then((res) => {
this.list = res; this.list = res;
console.log("===list", this.list);
}) })
.finally(() => (this.loading = false)); // set loading to false when request finish .finally(() => (this.loading = false)); // set loading to false when request finish
}, },
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<p class="overflow">{{item.description}}</p> <p class="overflow">{{item.description}}</p>
</a> </a>
<p><b>{{item.price}}</b></p> <p><b>{{item.price}}</b></p>
<star-rating v-model:rating="rating" star-size="20" v-bind:max-rating="5" active-color="#000" show-rating="false"></star-rating> <star-rating v-model:rating="rating" :star-size="size" v-bind:max-rating="5" active-color="#000" :show-rating="showRating"></star-rating>
</div> </div>
</div> </div>
</div> </div>
...@@ -25,7 +25,9 @@ export default { ...@@ -25,7 +25,9 @@ export default {
}, },
data() { data() {
return { return {
rating: "4" rating: 4,
size: 20,
showRating: false
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment