cloud-web-corejs 1.0.54-dev.10 → 1.0.54-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -105,7 +105,7 @@ modules = {
|
|
105
105
|
title: this.$t1('导出发布'),
|
106
106
|
field: 'exportAuth',
|
107
107
|
width: 150,
|
108
|
-
params: {disabled: !this.currentMenuKind.
|
108
|
+
params: {disabled: !this.currentMenuKind.exportAuth},
|
109
109
|
slots: {
|
110
110
|
default: "switch"
|
111
111
|
}
|
@@ -114,7 +114,7 @@ modules = {
|
|
114
114
|
title: this.$t1('可选导出发布类型'),
|
115
115
|
field: 'selectTypeAuth',
|
116
116
|
width: 200,
|
117
|
-
params: {disabled: !this.currentMenuKind.
|
117
|
+
params: {disabled: !this.currentMenuKind.selectTypeAuth},
|
118
118
|
slots: {
|
119
119
|
default: "switch"
|
120
120
|
}
|
@@ -245,11 +245,13 @@ modules = {
|
|
245
245
|
});
|
246
246
|
},
|
247
247
|
createRow() {
|
248
|
+
let editAuth = this.currentMenuKind.editAuth ? 1 : 0;
|
249
|
+
let exportAuth = this.currentMenuKind.exportAuth ? 1 : 0;
|
248
250
|
let row = {
|
249
251
|
nickName: null,
|
250
252
|
userId: null,
|
251
|
-
editAuth:
|
252
|
-
exportAuth:
|
253
|
+
editAuth: editAuth,
|
254
|
+
exportAuth: exportAuth,
|
253
255
|
selectTypeAuth: 0,
|
254
256
|
menuKindId: this.menuKindId
|
255
257
|
}
|