no message
This commit is contained in:
parent
c842319bc0
commit
14f3aedb49
2
public/js/luckysheet/luckysheet.esm.js
vendored
2
public/js/luckysheet/luckysheet.esm.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/luckysheet/luckysheet.umd.js
vendored
2
public/js/luckysheet/luckysheet.umd.js
vendored
File diff suppressed because one or more lines are too long
@ -74,6 +74,10 @@ export default {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
parentShow: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
@ -89,10 +93,6 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
this.fileContent[this.fileId] = this.contentDetail;
|
||||
},
|
||||
|
||||
watch: {
|
||||
file: {
|
||||
handler(info) {
|
||||
@ -103,6 +103,12 @@ export default {
|
||||
},
|
||||
immediate: true,
|
||||
deep: true,
|
||||
},
|
||||
|
||||
parentShow(val) {
|
||||
if (!val) {
|
||||
this.fileContent[this.fileId] = this.contentDetail;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
||||
:height="editHeight"
|
||||
:mask-closable="false"
|
||||
:mask-style="{backgroundColor:'rgba(0,0,0,0.7)'}">
|
||||
<FileContent :file="editInfo"/>
|
||||
<FileContent v-if="editShowNum > 0" :parent-show="editShow" :file="editInfo"/>
|
||||
</Drawer>
|
||||
</div>
|
||||
</template>
|
||||
@ -132,6 +132,7 @@ export default {
|
||||
columns: [],
|
||||
|
||||
editShow: false,
|
||||
editShowNum: 0,
|
||||
editHeight: 0,
|
||||
editInfo: {},
|
||||
}
|
||||
@ -199,6 +200,12 @@ export default {
|
||||
immediate: true
|
||||
},
|
||||
|
||||
editShow(val) {
|
||||
if (val) {
|
||||
this.editShowNum++;
|
||||
}
|
||||
},
|
||||
|
||||
tableMode(val) {
|
||||
this.$store.state.method.setStorage("fileTableMode", val)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user