|
@@ -12,9 +12,9 @@
|
|
<a-button @click="fireResourceError" type="primary">
|
|
<a-button @click="fireResourceError" type="primary">
|
|
{{ t('sys.errorLog.fireResourceError') }}
|
|
{{ t('sys.errorLog.fireResourceError') }}
|
|
</a-button>
|
|
</a-button>
|
|
- <a-button @click="fireAjaxError" type="primary">
|
|
|
|
- {{ t('sys.errorLog.fireAjaxError') }}
|
|
|
|
- </a-button>
|
|
|
|
|
|
+<!-- <a-button @click="fireAjaxError" type="primary">-->
|
|
|
|
+<!-- {{ t('sys.errorLog.fireAjaxError') }}-->
|
|
|
|
+<!-- </a-button>-->
|
|
</template>
|
|
</template>
|
|
<template #action="{ record }">
|
|
<template #action="{ record }">
|
|
<TableAction
|
|
<TableAction
|
|
@@ -36,7 +36,7 @@
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { useErrorLogStore } from '/@/store/modules/errorLog';
|
|
import { useErrorLogStore } from '/@/store/modules/errorLog';
|
|
- import { fireErrorApi } from '/@/api/demo/error';
|
|
|
|
|
|
+ // import { fireErrorApi } from '/@/api/demo/error';
|
|
import { getColumns } from './data';
|
|
import { getColumns } from './data';
|
|
import { cloneDeep } from 'lodash-es';
|
|
import { cloneDeep } from 'lodash-es';
|
|
|
|
|
|
@@ -86,7 +86,7 @@
|
|
imgList.value.push(`${new Date().getTime()}.png`);
|
|
imgList.value.push(`${new Date().getTime()}.png`);
|
|
}
|
|
}
|
|
|
|
|
|
- async function fireAjaxError() {
|
|
|
|
- await fireErrorApi();
|
|
|
|
- }
|
|
|
|
|
|
+ // async function fireAjaxError() {
|
|
|
|
+ // await fireErrorApi();
|
|
|
|
+ // }
|
|
</script>
|
|
</script>
|