--新增删除鉴权用户,更新中英文库
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { PageContainer } from '@ant-design-vue/pro-layout';
|
||||
import { ColumnsType } from 'ant-design-vue/lib/table';
|
||||
import { reactive, toRaw, ref, onMounted } from 'vue';
|
||||
import { message } from 'ant-design-vue/lib';
|
||||
import { reactive, toRaw,ref,onMounted} from 'vue';
|
||||
import { listMain } from '@/api/index';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
const { t } = useI18n();
|
||||
import { TooltipComponent } from 'echarts/components';
|
||||
import { GaugeChart } from 'echarts/charts';
|
||||
import { CanvasRenderer } from 'echarts/renderers';
|
||||
@@ -12,8 +12,7 @@ import * as echarts from 'echarts/core';
|
||||
import { TitleComponent, LegendComponent } from 'echarts/components';
|
||||
import { PieChart } from 'echarts/charts';
|
||||
import { LabelLayout } from 'echarts/features';
|
||||
import message from 'ant-design-vue/lib/message';
|
||||
|
||||
const { t } = useI18n();
|
||||
echarts.use([
|
||||
TooltipComponent,
|
||||
GaugeChart,
|
||||
@@ -326,7 +325,7 @@ const closeDrawer = () => {
|
||||
/**监听表格行事件*/
|
||||
function rowClick(record:any, index:any) {
|
||||
return {
|
||||
onClick: () => {
|
||||
onClick: (event:any) => {
|
||||
console.log(toRaw(record), "666");
|
||||
/* console.log( index, "666");
|
||||
console.log( event, "666");*/
|
||||
@@ -358,6 +357,7 @@ function rowClick(record:any, index:any) {
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
fnGetList();
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user