DataSource (对象)
说明
DataSource 对象
方法
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const dataSource = await app.DataSource;
const sheets = await dataSource.ImportFromCloud('100127684526')
console.log(sheets)
}
脚本编辑器 示例
javascript
function main() {
const dataSource = Application.DataSource
const sheets = await dataSource.ImportFromCloud('100127684526')
console.log(sheets)
}
main()