mirror of
https://github.com/501351981/vue-office.git
synced 2025-07-15 07:32:19 +08:00
fix: excel动态src丢失requestOptions
This commit is contained in:
parent
758db9c904
commit
165a93cbc7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue-office/excel",
|
||||
"version": "1.1.6",
|
||||
"version": "1.1.7",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -131,7 +131,7 @@ export default defineComponent({
|
||||
});
|
||||
watch(() => props.src, () => {
|
||||
if (props.src) {
|
||||
getData(props.src).then(renderExcel).catch(e => {
|
||||
getData(props.src, props.requestOptions).then(renderExcel).catch(e => {
|
||||
xs.loadData({});
|
||||
emit('error', e);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user