|
@ -193,6 +193,8 @@ |
|
|
}) |
|
|
}) |
|
|
this.$forceUpdate() |
|
|
this.$forceUpdate() |
|
|
|
|
|
|
|
|
|
|
|
}).catch(res=>{ |
|
|
|
|
|
console.log("获取消息失败",res) |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -326,7 +328,8 @@ |
|
|
if (res.data.length > 0) { |
|
|
if (res.data.length > 0) { |
|
|
uni.setStorageSync("dictionary", res.data) |
|
|
uni.setStorageSync("dictionary", res.data) |
|
|
} |
|
|
} |
|
|
|
|
|
}).catch(res=>{ |
|
|
|
|
|
console.log("获取字典失败",res) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|