|
@@ -72,7 +72,8 @@ export default {
|
|
|
saveSheetHandle: _.debounce(async function() {
|
|
|
const { name,classify } = this.sheetForm;
|
|
|
luckysheet.exitEditMode()
|
|
|
- let data = luckysheet.getAllSheets()[0]
|
|
|
+ //结构类型乱飘 强制定义下
|
|
|
+ let data = {...luckysheet.getAllSheets()[0],status:Number(luckysheet.getAllSheets()[0].status)}
|
|
|
if(!name || !classify) return this.$message.warning(name ? '请选择表格分类' : '请输入表格名称')
|
|
|
if(!data.celldata.length) return this.$message.warning('请输入表格内容');
|
|
|
|