no message
Former-commit-id: c0e2ed71c4ad1d1cbc94582752ebf46eb06754f2 Former-commit-id: 1ea6cdd22b9b742fae869c9ca2804ec753fadf0e Former-commit-id: 9283b33d167a1565b393672b3e3f8587f6e559aa
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user