|
@@ -85,6 +85,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getDate() {
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中...'
|
|
|
+ });
|
|
|
request({
|
|
|
url: "/appMessage/getMessageCategory",
|
|
|
method: "post",
|
|
@@ -114,11 +117,6 @@ export default {
|
|
|
},
|
|
|
inSystem(index) {
|
|
|
console.log(index);
|
|
|
- // console.log(index)
|
|
|
- // this.$u.route({
|
|
|
- // url: 'pages/msg/System-message/index',
|
|
|
-
|
|
|
- // })
|
|
|
},
|
|
|
click(index) {
|
|
|
console.log(index);
|
|
@@ -135,7 +133,7 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
.then((res) => {
|
|
|
- this.$u.toast(`删除了第${index}个cell`);
|
|
|
+ this.$u.toast(`删除成功`);
|
|
|
this.getDate();
|
|
|
})
|
|
|
.catch((err) => {
|