mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
提交
This commit is contained in:
7
App.vue
7
App.vue
@@ -93,7 +93,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
uni-toast .uni-toast{
|
||||
img{
|
||||
width: 38px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
/**统一样式*/
|
||||
.fixed-field{
|
||||
width: 180px;
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
if(res.status==200){
|
||||
uni.showToast({
|
||||
title:"修改成功" ,
|
||||
duration: 1000
|
||||
duration: 1000,
|
||||
image:'../../static/images/icon/ok-icon.png'
|
||||
});
|
||||
setTimeout(()=>{
|
||||
uni.navigateTo({
|
||||
|
||||
@@ -190,9 +190,9 @@
|
||||
},
|
||||
|
||||
// 实例被激活时使用,用于重复激活一个实例的时候
|
||||
activated () {
|
||||
this.findData(true);
|
||||
},
|
||||
// activated () {
|
||||
// this.findData(true);
|
||||
// },
|
||||
|
||||
|
||||
methods:{
|
||||
@@ -244,7 +244,9 @@
|
||||
.then(res => {
|
||||
if (res.status == 200) {
|
||||
uni.showToast({
|
||||
title:'删除成功'
|
||||
title:'删除成功',
|
||||
// duration:500000
|
||||
image:'../../static/images/icon/ok-icon.png'
|
||||
})
|
||||
// $this.$refs.articleToast.show({message:'删除成功',type:'success'});
|
||||
$this.findAnData(true);
|
||||
@@ -292,7 +294,8 @@
|
||||
apiQa.del(item.id).then(res=>{
|
||||
if(res.status=200){
|
||||
uni.showToast({
|
||||
title:'删除成功'
|
||||
title:'删除成功',
|
||||
image:'../../static/images/icon/ok-icon.png'
|
||||
})
|
||||
// $this.$refs.articleToast.show({message:'删除成功',type:'success'});
|
||||
let event = {
|
||||
|
||||
@@ -128,7 +128,8 @@
|
||||
this.$store.dispatch('InitData');
|
||||
// uni.navigateBack(-1);
|
||||
uni.showToast({
|
||||
title:'更新成功'
|
||||
title:'更新成功',
|
||||
image:'../../static/images/icon/ok-icon.png'
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
||||
BIN
static/images/icon/ok-icon.png
Normal file
BIN
static/images/icon/ok-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 572 B |
Reference in New Issue
Block a user