delete unused files

This commit is contained in:
陈嘉涵
2017-08-16 18:00:04 +08:00
parent f9f01e5568
commit 6b1f38a382
109 changed files with 39 additions and 531 deletions

View File

@@ -1,8 +0,0 @@
## 0.0.2 (2017-01-20)
* 改了bug A
* 加了功能B
## 0.0.1 (2017-01-10)
* 第一版

View File

@@ -1,10 +0,0 @@
{
"name": "@youzan/van-dialog",
"version": "0.0.1",
"description": "dialog component",
"main": "./index.js",
"author": "zhangmin <zhangmin@youzan.com>",
"license": "MIT",
"devDependencies": {},
"dependencies": {}
}

View File

@@ -1,6 +1,6 @@
import Vue from 'vue';
import Dialog from './dialog.vue';
import merge from 'packages/utils/merge';
import merge from '../../utils/merge';
const DialogConstructor = Vue.extend(Dialog);
@@ -60,7 +60,7 @@ const showNextDialog = () => {
var DialogBox = options => {
return new Promise((resolve, reject) => { // eslint-disable-line
dialogQueue.push({
options: merge({}, options),
options: merge({ ...options }),
callback: options.callback,
resolve: resolve,
reject: reject

View File

@@ -18,7 +18,7 @@
</template>
<script>
import Popup from 'packages/mixins/popup';
import Popup from '../../mixins/popup';
const CANCEL_TEXT = '取消';
const CONFIRM_TEXT = '确定';