新增app原生固定编码

This commit is contained in:
liaozetao
2024-02-20 14:29:16 +08:00
parent c7d6455c16
commit 80dca35881

View File

@@ -304,6 +304,7 @@ export default {
},
addClick() {
this.resource.id = null;
this.resource.code = '';
this.resource.name = '';
this.resource.icon = '';
this.resource.skipType = 0;
@@ -322,6 +323,7 @@ export default {
},
editClick(row) {
this.resource.id = row.id;
this.resource.code = row.code;
this.resource.name = row.name;
this.resource.icon = row.icon;
this.resource.skipType = row.skipType;
@@ -354,6 +356,7 @@ export default {
}
saveResource({
id: this.resource.id,
code: this.resource.code,
name: this.resource.name,
icon: this.resource.icon,
type: 3,