新增app原生固定编码
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user