no message

Former-commit-id: c0e2ed71c4ad1d1cbc94582752ebf46eb06754f2
Former-commit-id: 1ea6cdd22b9b742fae869c9ca2804ec753fadf0e
Former-commit-id: 9283b33d167a1565b393672b3e3f8587f6e559aa
This commit is contained in:
李杨
2018-02-15 15:33:10 +08:00
parent c9689adcde
commit 28a62b15c0
2 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import papa from 'papaparse'
export default {
install (Vue, options) {
Vue.prototype.$import = {
// 导入 csv
csv (file) {
return new Promise((resolve, reject) => {
papa.parse(file, {