|
@@ -584,7 +584,13 @@ export default {
|
|
|
infoButton.htmlWindowNo.length > 0
|
|
infoButton.htmlWindowNo.length > 0
|
|
|
) {
|
|
) {
|
|
|
HtmlWindowResource.uniqueByNo(infoButton.htmlWindowNo).then(
|
|
HtmlWindowResource.uniqueByNo(infoButton.htmlWindowNo).then(
|
|
|
- htmlWindowDto => {
|
|
|
|
|
|
|
+ response => {
|
|
|
|
|
+ if (response.errorCode != 0) {
|
|
|
|
|
+ Notify.error('错误', response.errorMessage, true);
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ const htmlWindowDto = response.data;
|
|
|
if (htmlWindowDto != undefined) {
|
|
if (htmlWindowDto != undefined) {
|
|
|
var htmlWindowUrl = htmlWindowDto.htmlFileName;
|
|
var htmlWindowUrl = htmlWindowDto.htmlFileName;
|
|
|
var autoCloseInterval = htmlWindowDto.autoCloseInterval;
|
|
var autoCloseInterval = htmlWindowDto.autoCloseInterval;
|