diff --git a/src/views/threeSystems/safetyProductionManagementSystem/components/textLibraryInfo.vue b/src/views/threeSystems/safetyProductionManagementSystem/components/textLibraryInfo.vue index ae59fda..ad5767b 100644 --- a/src/views/threeSystems/safetyProductionManagementSystem/components/textLibraryInfo.vue +++ b/src/views/threeSystems/safetyProductionManagementSystem/components/textLibraryInfo.vue @@ -95,7 +95,6 @@ export default { this.loading = false this.form = data.data this.form.FILE = [] - this.remoteControl.keyOne = !(this.form.CATEGORY_LIST[0].CATEGORY_ID === '691346658ed744a1bda2ed3a755f606c') }).catch((e) => { this.$message.error(e) this.loading = false diff --git a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/textLibraryInfo.vue b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/textLibraryInfo.vue index e87b3b9..082be93 100644 --- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/textLibraryInfo.vue +++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/textLibraryInfo.vue @@ -95,12 +95,6 @@ export default { this.loading = false this.form = data.data this.form.FILE = [] - // CATEGORY_LIST为空的时候,下方的判断会报错,所以当CATEGORY_LIST为空时,keyOne为true - if (this.form.CATEGORY_LIST.length > 0) { - this.remoteControl.keyOne = !(this.form.CATEGORY_LIST[0].CATEGORY_ID === '7158f688d0f34054a28a9275139298df') - } else { - this.remoteControl.keyOne = true - } }).catch((e) => { this.$message.error(e) this.loading = false