diff --git a/src/components/VerticalBarChart.vue b/src/components/VerticalBarChart.vue
index 5b9ca09..4761791 100644
--- a/src/components/VerticalBarChart.vue
+++ b/src/components/VerticalBarChart.vue
@@ -19,9 +19,9 @@ export default {
default: 0
}
},
- data() {
- return {
- data: {
+ computed: {
+ data() {
+ return {
labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug"],
datasets: [
{
@@ -43,8 +43,10 @@ export default {
backgroundColor: "#BCBABA"
}
]
- },
- options: {
+ };
+ },
+ options() {
+ return {
scales: {
xAxes: [
{
@@ -76,8 +78,8 @@ export default {
}
]
}
- }
- };
+ };
+ }
}
};
diff --git a/src/global-components/BarChart.vue b/src/global-components/BarChart.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/DonutChart.vue b/src/global-components/DonutChart.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/GoogleMapLoader.vue b/src/global-components/GoogleMapLoader.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/Highlight.vue b/src/global-components/Highlight.vue
old mode 100755
new mode 100644
index 2774605..860bbf5
--- a/src/global-components/Highlight.vue
+++ b/src/global-components/Highlight.vue
@@ -14,7 +14,7 @@ export default {
directives: {
highlight: {
bind(el, binding, vnode) {
- let source = $(el)
+ let source = cash(el)
.find("code")
.find("textarea")
.html();
@@ -33,11 +33,11 @@ export default {
source = _.replace(source, //g, ">");
- $(el)
+ cash(el)
.find("code")
.html(source);
- hljs.highlightBlock($(el).find("code")[0]);
+ hljs.highlightBlock(cash(el).find("code")[0]);
}
}
},
diff --git a/src/global-components/LineChart.vue b/src/global-components/LineChart.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/LitePicker.vue b/src/global-components/LitePicker.vue
old mode 100755
new mode 100644
index 449c72b..6fea47b
--- a/src/global-components/LitePicker.vue
+++ b/src/global-components/LitePicker.vue
@@ -50,7 +50,10 @@ export default {
date +=
!vnode.context.options.singleMode &&
vnode.context.options.singleMode !== undefined
- ? " - " + dayjs().format(format)
+ ? " - " +
+ dayjs()
+ .add(1, "month")
+ .format(format)
: "";
vnode.context.$emit("input", date);
}
diff --git a/src/global-components/PieChart.vue b/src/global-components/PieChart.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/TailSelect.vue b/src/global-components/TailSelect.vue
index dfdc466..4cfebf7 100644
--- a/src/global-components/TailSelect.vue
+++ b/src/global-components/TailSelect.vue
@@ -35,7 +35,7 @@ export default {
methods: {
setValue(el, binding, vnode) {
if (vnode.context.value.length) {
- $(vnode.context.$refs["select"]).val(vnode.context.value);
+ cash(vnode.context.$refs["select"]).val(vnode.context.value);
}
},
init(el, binding, vnode) {
diff --git a/src/global-components/Tippy.vue b/src/global-components/Tippy.vue
old mode 100755
new mode 100644
diff --git a/src/global-components/index.js b/src/global-components/index.js
old mode 100755
new mode 100644
diff --git a/src/layouts/SideMenu.vue b/src/layouts/SideMenu.vue
old mode 100755
new mode 100644
index f23f666..0631749
--- a/src/layouts/SideMenu.vue
+++ b/src/layouts/SideMenu.vue
@@ -1,5 +1,6 @@
+
@@ -54,7 +55,7 @@
-
+
-
-
+
+
@@ -54,7 +55,7 @@
-
+
-
-
+
+
-
+
@@ -181,7 +180,7 @@
:src="require(`@/assets/images/${$f()[9].photos[0]}`)"
/>
-
+
@@ -322,9 +321,11 @@
diff --git a/src/views/Datepicker.vue b/src/views/Datepicker.vue
old mode 100755
new mode 100644
index 7c8fe7e..948c5da
--- a/src/views/Datepicker.vue
+++ b/src/views/Datepicker.vue
@@ -278,7 +278,7 @@
>
Download Docs
-
+
-
+
@@ -345,6 +343,7 @@
>
-
+
-
+
-
+
-
-
-
-
-
-
-
-