mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 21:39:15 +08:00
chore: remove unused var
This commit is contained in:
parent
de8985b4f3
commit
9d5b734170
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vant/eslint-config",
|
"name": "@vant/eslint-config",
|
||||||
"version": "2.2.2",
|
"version": "2.2.3",
|
||||||
"description": "eslint config of vant",
|
"description": "eslint config of vant",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { createNamespace, get } from '../utils';
|
import { createNamespace } from '../utils';
|
||||||
import { isDate } from '../utils/validate/date';
|
import { isDate } from '../utils/validate/date';
|
||||||
import { padZero } from '../utils/format/string';
|
import { padZero } from '../utils/format/string';
|
||||||
import { getTrueValue, getMonthEndDay } from './utils';
|
import { getTrueValue, getMonthEndDay } from './utils';
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import Vue from 'vue';
|
|
||||||
import { sortChildren } from '../utils/vnodes';
|
import { sortChildren } from '../utils/vnodes';
|
||||||
|
|
||||||
export function ChildrenMixin(parent, options = {}) {
|
export function ChildrenMixin(parent, options = {}) {
|
||||||
|
@ -3,7 +3,7 @@ import { stopPropagation } from '../utils/dom/event';
|
|||||||
import { BindEventMixin } from '../mixins/bind-event';
|
import { BindEventMixin } from '../mixins/bind-event';
|
||||||
import Key from './Key';
|
import Key from './Key';
|
||||||
|
|
||||||
const [createComponent, bem, t] = createNamespace('number-keyboard');
|
const [createComponent, bem] = createNamespace('number-keyboard');
|
||||||
|
|
||||||
export default createComponent({
|
export default createComponent({
|
||||||
mixins: [
|
mixins: [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import NumberKeyboard from '..';
|
import NumberKeyboard from '..';
|
||||||
import { mount, trigger, later } from '../../../test';
|
import { mount, trigger } from '../../../test';
|
||||||
|
|
||||||
function clickKey(key) {
|
function clickKey(key) {
|
||||||
trigger(key, 'touchstart');
|
trigger(key, 'touchstart');
|
||||||
|
@ -1583,9 +1583,9 @@
|
|||||||
webpackbar "^4.0.0"
|
webpackbar "^4.0.0"
|
||||||
|
|
||||||
"@vant/eslint-config@^2.2.2":
|
"@vant/eslint-config@^2.2.2":
|
||||||
version "2.2.2"
|
version "2.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/@vant/eslint-config/-/eslint-config-2.2.2.tgz#bd3bfb03da9806f0bf63d69e4f566577e8525b7e"
|
resolved "https://registry.npmjs.org/@vant/eslint-config/-/eslint-config-2.2.3.tgz#e4e4fae51ff1eba3f06108b9f0625d8d7bc668df"
|
||||||
integrity sha512-cUtMEPCMz5ym9MnztZtuvgcSDydwrZpRD11Ex5+1gb1oOqDq58Cm6Ux7rDgSrAVn9Td4qQxyy7Zy4t2fYJGf3A==
|
integrity sha512-63E1ooZ4z6W4C4/sbNlnQHaLpYSNYzahfVCvZYITP2Dzm119dUkMmk9+JEtqGOfyFx/Qoc5LBmmonbuwoBit2w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/eslint-plugin" "^2.28.0"
|
"@typescript-eslint/eslint-plugin" "^2.28.0"
|
||||||
"@typescript-eslint/parser" "^2.28.0"
|
"@typescript-eslint/parser" "^2.28.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user