Commit 14699c7d by 无尘

fix:修改接口返回

parent 89cb4ca9
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-11 14:11:50
* @LastEditTime: 2020-08-11 16:05:58
-->
<template>
<div class="daily-set-wrap ">
......@@ -145,6 +145,10 @@ export default {
if (res.code == '0000') {
showMsg.showmsg('刷新成功', 'success');
that.getApp();
}else {
that.loadApp = false;
showMsg.showmsg(res.message, 'warning');
that.getApp();
}
})
.catch(function(error) {
......@@ -206,6 +210,9 @@ export default {
wxEnterpriseRefresh(para)
.then(res => {
that.loadRefesh = false;
if (res.code == '0000') {
showMsg.showmsg('刷新成功', 'success');
}
that.getData();
})
.catch(function(error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment