From d1cc96d8c3de48a3bcb48338e3cd1acb76e42112 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 8 Jan 2021 13:45:17 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index e503e7a86..71a3dd5a9 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -725,7 +725,7 @@ $(function () { /*! 注册 data-iframe 事件行为 */ $body.on('click', '[data-iframe]', function () { - $(this).attr('data-index', $.form.iframe(this.dataset.iframe, this.dataset.title || '窗口', this.dataset.area || [ + $(this).attr('data-index', $.form.iframe(this.dataset.iframe, this.dataset.title || this.innerText || '窗口', this.dataset.area || [ this.dataset.width || '800px', this.dataset.height || '580px' ])); });