getActionData (file) {
const __this = this
var reader = new FileReader()// 新建一个FileReader
reader.readAsText(file, 'UTF-8')// 读取文件
reader.onload = function (evt) { // 读取完文件之后会回来这里
var fileString = evt.target.result // 读取文件内容
const jsonObj = JSON.parse(fileString)
__this.actData[file.uid] = jsonObj.animations
console.log('fileString..', jsonObj, jsonObj.animations, Object.keys(jsonObj.animations))
}
},



android 删除应用的数据库 android中数据库的增删改查

一、项目目录结构图二、layout界面三、layout界面xml代码<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"