前端工作总结293-uni-增加添加成功提示
发布时间:2022-11-18 14:36:02 251 相关标签: # php
this.$u.api.getPartyAdd(this.form).then(res => {
console.log(res)
if(res.data.code==200){
/* uni.showLoading({
title: '添加中'
}); */
this.$refs.uToast.show({
title: res.data.message,
type: 'success',
})
setTimeout(function () {
uni.navigateTo({
url: "../notice_notice_list/notice_notice_list"
})
}, 2000);
}else{
this.$refs.uToast.show({
title: res.data.message,
type: 'error',
})
}
文章来源: https://blog.51cto.com/u_14476028/5684697
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报