fix: utils

This commit is contained in:
chenjiahan
2020-07-07 15:06:16 +08:00
parent 0024a2db42
commit 4c87fe2479
6 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { on, off } from '../../src/utils/dom/event';
import { on, off } from '../utils/dom/event';
import {
Ref,
watch,

View File

@@ -83,7 +83,7 @@
<script>
import icons from '@vant/icons';
import { BLUE, GREEN } from '../../../src/utils/constant';
import { BLUE, GREEN } from '../../utils/constant';
// from https://30secondsofcode.org
function copyToClipboard(str) {

View File

@@ -1,6 +1,5 @@
// Utils
import { addUnit } from '../../src/utils';
import { createNamespace } from '../utils/create';
import { addUnit, createNamespace } from '../utils';
// Components
import Info from '../info';

View File

@@ -1,6 +1,5 @@
// Utils
import { isDef } from '../../src/utils';
import { createNamespace } from '../utils/create';
import { isDef, createNamespace } from '../utils';
const [createComponent, bem] = createNamespace('info');

View File

@@ -1,5 +1,5 @@
import { ref } from 'vue';
import { deepAssign } from '../../src/utils/deep-assign';
import { deepAssign } from '../utils/deep-assign';
import defaultMessages from './lang/zh-CN';
type Messages = Record<string, Record<string, any>>;