• 前端工作总结293-uni-增加添加成功提示


    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',
                            })
                        }
                    

  • 相关阅读:
    textarea自动高度 笔记221106
    知识(202402)
    树状数组解题报告
    我,90后,有点想住养老院
    js中创建对象的5种方法
    [附源码]java毕业设计火车票预订系统论文2022
    springboot如何实现文件下载呢?
    浅谈 Spring
    【ARM】MDK Debug模式下Disassembly窗口介绍
    websocket实现一个局域网在线摸鱼聊天室
  • 原文地址:https://blog.csdn.net/qq_41632427/article/details/126874847