diff --git a/assets/js/index.js b/assets/js/index.js index 4d220477..408fb418 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -1,4 +1,4 @@ -const isDebug = ['localhost', '127.0.0.1'].includes(location.hostname) +const isDebug = ['localhost', '127.0.0.1', 'test.examples.wenzhixin.net.cn'].includes(location.hostname) const { computed, createApp, onMounted, ref } = window.Vue const Utils = { diff --git a/assets/js/template.js b/assets/js/template.js index d911e626..b28dbc76 100644 --- a/assets/js/template.js +++ b/assets/js/template.js @@ -1,6 +1,6 @@ window._config = { isDebug: location.hash.slice(1) === 'is-debug' || - ['localhost', '127.0.0.1', 'dev.bootstrap-table.com'].includes(location.hostname), + ['localhost', '127.0.0.1', 'test.examples.wenzhixin.net.cn'].includes(location.hostname), cdnUrl: 'https://cdn.jsdelivr.net/npm/bootstrap-table@1.27.2/dist/', localUrl: '../bootstrap-table/src/', testUrl: '/src/' diff --git a/methods/show-hide-column.html b/methods/show-hide-column.html index 3e5722d4..44e198ca 100644 --- a/methods/show-hide-column.html +++ b/methods/show-hide-column.html @@ -1,7 +1,7 @@