@@ -2,8 +2,8 @@
"name" : "协同办公",
"appid" : "__UNI__EEB5AF5",
"description" : "",
- "versionName" : "1.7.6",
- "versionCode" : 176,
+ "versionName" : "1.7.7",
+ "versionCode" : 177,
"transformPx" : false,
"app-plus" : {
/* 5+App特有相关 */
@@ -5,13 +5,13 @@
"packages": {
"": {
"dependencies": {
- "base-64": "^1.0.0"
+ "js-base64": "^3.7.7"
}
},
- "node_modules/base-64": {
- "version": "1.0.0",
- "resolved": "https://registry.npmmirror.com/base-64/-/base-64-1.0.0.tgz",
- "integrity": "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg=="
+ "node_modules/js-base64": {
+ "version": "3.7.7",
+ "resolved": "https://registry.npmmirror.com/js-base64/-/js-base64-3.7.7.tgz",
+ "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw=="
@@ -1,5 +1,5 @@
{
@@ -5,7 +5,7 @@
</template>
<script>
- import Base64 from 'base-64'
+ import {Base64} from 'js-base64'
var wv
var currentWebview
//引入相关样式
@@ -36,6 +36,7 @@
uni.downloadFile({
url:that.path,
success: function(res) {
+ console.log(res)
if (res.statusCode === 200) {
that.list1.push(that.path)
that.list2.push(res.tempFilePath)
@@ -52,7 +53,8 @@
icon:'none'
})
- },fail:function(){
+ },fail:function(res){
uni.hideLoading()
uni.showToast({
title:"下载失败",
@@ -362,7 +362,6 @@
getContent(id) {
uni.$u.http.get('/offcial/receive/sel/' + id).then(res => {
this.content = res.data
- console.log(res.data)
this.content.workid = id
if (this.gdType == true) {
this.content.typeId = null //归档分类