Commit c9fc8622 authored by tanghao's avatar tanghao

123

parent 44dbfb4f
......@@ -152,10 +152,11 @@ const setAreaTitle = () => {
return ElMessage.error('请在同一sheet页中选择数据!')
}
const isPublic = props.currentAreaMark.excelAreaType == 'public_area'
const isSelf = props.currentAreaMark.oneself !== 'Y'
const [sr, er] = sheet.luckysheet_select_save[0].row
const [sc, ec] = sheet.luckysheet_select_save[0].column
const rangeData = luckysheet.getRangeValue()
const titles = isPublic
const titles = isPublic&&isSelf
? handlePublicRangeTitle(rangeData)
: handleRangeTitle(rangeData).map((item) => {
Reflect.set(item, 'numTitle', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment