|
@@ -325,7 +325,7 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
<a-form-item style="float: right;">
|
|
<a-form-item style="float: right;">
|
|
<a-button type="primary" icon="download"
|
|
<a-button type="primary" icon="download"
|
|
- :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs)" download="x-ui.log">
|
|
|
|
|
|
+ :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log">
|
|
</a-button>
|
|
</a-button>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-form>
|
|
</a-form>
|
|
@@ -457,7 +457,7 @@
|
|
|
|
|
|
const logModal = {
|
|
const logModal = {
|
|
visible: false,
|
|
visible: false,
|
|
- logs: '',
|
|
|
|
|
|
+ logs: [],
|
|
rows: 20,
|
|
rows: 20,
|
|
level: 'info',
|
|
level: 'info',
|
|
syslog: false,
|
|
syslog: false,
|