|
@@ -174,7 +174,7 @@ window.instance.initOptions = async (options) => {
|
|
|
// const res = await initConfig({
|
|
|
// license: 'NjY0ZGE0N2ZhYTBiZQ=='
|
|
|
// })
|
|
|
- if (showUploadButton in options) {
|
|
|
+ if ('showUploadButton' in options) {
|
|
|
useViewer.setShowUploadButton(options.showUploadButton)
|
|
|
}
|
|
|
const webviewerMode = !!(options && options.webviewerServer) ? options.webviewerServer : 'Standalone'
|