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

运行结果
在这里插入图片描述