|
@@ -120,7 +120,9 @@ export default {
|
|
|
type: "success",
|
|
|
message: "图标上传增加成功!",
|
|
|
});
|
|
|
- getIcon(); // icon 更新
|
|
|
+ getIcon().then(() => {
|
|
|
+ that.changeIconType(that.selectValue);
|
|
|
+ }); // icon 更新
|
|
|
resolve();
|
|
|
} else {
|
|
|
that.$checkRequestCode(result);
|
|
@@ -156,7 +158,10 @@ export default {
|
|
|
type: "success",
|
|
|
message: "图标删除成功!",
|
|
|
});
|
|
|
- getIcon(); // icon 更新
|
|
|
+ // icon 更新
|
|
|
+ getIcon().then(() => {
|
|
|
+ that.changeIconType(that.selectValue);
|
|
|
+ });
|
|
|
} else {
|
|
|
that.$checkRequestCode(result);
|
|
|
}
|
|
@@ -190,7 +195,10 @@ export default {
|
|
|
type: "success",
|
|
|
message: "图标信息更新成功!",
|
|
|
});
|
|
|
- getIcon(); // icon 更新
|
|
|
+ // icon 更新
|
|
|
+ getIcon().then((result) => {
|
|
|
+ that.changeIconType(that.selectValue);
|
|
|
+ });
|
|
|
resolve();
|
|
|
} else {
|
|
|
that.$checkRequestCode(result);
|