|
@@ -55,7 +55,6 @@ import { getSheetImage } from '../common/option';
|
|
|
import bottomSection from './components/bottomSection.vue'
|
|
|
import rightSection from './components/rightSection.vue';
|
|
|
import createTargetForm from './components/createTargetForm.vue';
|
|
|
-import { escape } from '@antv/x6/lib/util/string/string';
|
|
|
export default {
|
|
|
components: { Sheet,bottomSection,rightSection,createTargetForm },
|
|
|
computed: {
|
|
@@ -80,6 +79,13 @@ export default {
|
|
|
//选区时
|
|
|
rangeSelect: (sheet,range) => {
|
|
|
if(this.$refs.createTargetRef && this.$refs.createTargetRef.selectArea && !this.$refs.createTargetRef.isLockUpdate) this.getRangeCell()
|
|
|
+ },
|
|
|
+
|
|
|
+ cellUpdateBefore: (r,c,val) => {
|
|
|
+ if(this.$route.path==='/createTaregtBySheet') {
|
|
|
+ this.$message.warning('当前页面禁止更改表格内容')
|
|
|
+ return false
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|