mali-applet-ui 1.1.62 → 1.1.63
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.
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
<script>
|
|
69
69
|
import globalStore from '../../../config/store'
|
|
70
70
|
import MaliUtils from '../../../utils'
|
|
71
|
+
import XEUtils from 'xe-utils'
|
|
71
72
|
|
|
72
73
|
function normalizeChooseAndUploadFileRes (res, fileType) {
|
|
73
74
|
res.tempFiles.forEach((item) => {
|
|
@@ -238,8 +239,8 @@ export default {
|
|
|
238
239
|
return !!this.form
|
|
239
240
|
},
|
|
240
241
|
isFromReadonly () {
|
|
241
|
-
if (this.readonly) {
|
|
242
|
-
return
|
|
242
|
+
if (XEUtils.isBoolean(this.readonly)) {
|
|
243
|
+
return this.readonly
|
|
243
244
|
}
|
|
244
245
|
return this.form ? this.form.readonly : false
|
|
245
246
|
},
|