1
This commit is contained in:
@@ -313,7 +313,8 @@ export default {
|
||||
try {
|
||||
const response = await readWPS365AirSheetCells({
|
||||
userId: this.userId,
|
||||
worksheetId: this.form.fileId,
|
||||
fileId: this.form.fileId,
|
||||
worksheetId: '0', // AirSheet中worksheetId通常是整数,0表示第一个工作表
|
||||
range: 'A1:B5'
|
||||
})
|
||||
if (response.code === 200) {
|
||||
@@ -376,7 +377,8 @@ export default {
|
||||
// 测试读取
|
||||
const readResponse = await readWPS365AirSheetCells({
|
||||
userId: this.userId,
|
||||
worksheetId: this.form.fileId,
|
||||
fileId: this.form.fileId,
|
||||
worksheetId: '0', // AirSheet中worksheetId通常是整数,0表示第一个工作表
|
||||
range: 'A1:B5'
|
||||
})
|
||||
if (readResponse.code !== 200) {
|
||||
@@ -389,7 +391,8 @@ export default {
|
||||
const testValues = [['测试数据1', '测试数据2']]
|
||||
const writeResponse = await updateWPS365AirSheetCells({
|
||||
userId: this.userId,
|
||||
worksheetId: this.form.fileId,
|
||||
fileId: this.form.fileId,
|
||||
worksheetId: '0', // AirSheet中worksheetId通常是整数,0表示第一个工作表
|
||||
range: testRange,
|
||||
values: testValues
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user