This is an automated email from the ASF dual-hosted git repository.
ywang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git
The following commit(s) were added to refs/heads/master by this push:
new d4a241c fix rk-date-calendar.vue error "TypeError: handler.apply is
not a function" (#140)
d4a241c is described below
commit d4a241c2545cf4f2682da4e72f313b3bde053f1b
Author: x22x22 <[email protected]>
AuthorDate: Sun Aug 25 10:46:48 2019 +0800
fix rk-date-calendar.vue error "TypeError: handler.apply is not a function"
(#140)
```js
vue.runtime.esm.js?2b0e:619
[Vue warn]: Error in v-on handler: "TypeError: handler.apply is not a
function"
found in
---> <VueDatepickerLocalCalendar> at src/components/rk-date-calendar.vue
<VueDatepickerLocal> at src/components/rk-date.vue
<Footer> at src/components/rk-footer.vue
<RouterIndex> at src/views/containers/index.vue
<App> at src/App.vue
<Root>
vue.runtime.esm.js?2b0e:1887
TypeError: handler.apply is not a function
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
at SVGSVGElement.invoker (vue.runtime.esm.js?2b0e:2178)
at SVGSVGElement.original._wrapper (vue.runtime.esm.js?2b0e:6876)
```
---
src/components/rk-date-calendar.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/rk-date-calendar.vue
b/src/components/rk-date-calendar.vue
index 7f206ae..23da975 100755
--- a/src/components/rk-date-calendar.vue
+++ b/src/components/rk-date-calendar.vue
@@ -18,14 +18,14 @@
<template>
<div :class="`${pre}`">
<div :class="`${pre}-head`">
- <a :class="`${pre}-prev-decade-btn`" v-show="showYears"
@click="year-=10"><svg class="icon sm cp" @click="pre">
+ <a :class="`${pre}-prev-decade-btn`" v-show="showYears"
@click="year-=10"><svg class="icon sm cp">
<use xlink:href="#angle-double-left"></use>
</svg></a>
- <a :class="`${pre}-prev-year-btn`" v-show="!showYears"
@click="year--"><svg class="icon sm cp" @click="pre">
+ <a :class="`${pre}-prev-year-btn`" v-show="!showYears"
@click="year--"><svg class="icon sm cp">
<use xlink:href="#angle-double-left"></use>
</svg></a>
<a :class="`${pre}-prev-month-btn`" v-show="!showYears&&!showMonths"
@click="pm">
- <svg class="icon lg cp" @click="pre">
+ <svg class="icon lg cp">
<use xlink:href="#chevron-left"></use>
</svg></a>
<a :class="`${pre}-year-select`" v-show="showYears">{{ys+'-'+ye}}</a>
@@ -38,13 +38,13 @@
<a :class="`${pre}-year-select`" @click="showYears=!showYears"
v-show="!showYears">{{year}}</a>
</template>
<a :class="`${pre}-next-month-btn`" v-show="!showYears&&!showMonths"
@click="nm">
- <svg class="icon lg cp" @click="pre">
+ <svg class="icon lg cp">
<use xlink:href="#chevron-right"></use>
</svg></a>
- <a :class="`${pre}-next-year-btn`" v-show="!showYears"
@click="year++"><svg class="icon sm cp" @click="pre">
+ <a :class="`${pre}-next-year-btn`" v-show="!showYears"
@click="year++"><svg class="icon sm cp">
<use xlink:href="#angle-double-right"></use>
</svg></a>
- <a :class="`${pre}-next-decade-btn`" v-show="showYears"
@click="year+=10"><svg class="icon sm cp" @click="pre">
+ <a :class="`${pre}-next-decade-btn`" v-show="showYears"
@click="year+=10"><svg class="icon sm cp">
<use xlink:href="#angle-double-right"></use>
</svg></a>
</div>