|
@@ -486,7 +486,11 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (this.dialogName == "编辑") {
|
|
|
- this.$store.dispatch('module/upStaticResource', this.ruleForm).then(res => {
|
|
|
+ let data = {
|
|
|
+ id: this.ruleForm.id,
|
|
|
+ img_alias: this.ruleForm.img_alias,
|
|
|
+ }
|
|
|
+ this.$store.dispatch('module/upStaticResource', data).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message({
|
|
|
message: '编辑成功',
|