修改前端
This commit is contained in:
parent
b0884a56d7
commit
dddb0d6de2
14982
admin-client/package-lock.json
generated
14982
admin-client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
|
@ -11,41 +11,43 @@
|
|||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/g2": "^5.1.5",
|
||||
"@antv/g2": "^5.2.2",
|
||||
"@antv/g2plot": "^2.4.31",
|
||||
"@antv/s2": "^1.55.8",
|
||||
"@antv/s2-vue": "^1.7.1",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"monaco-editor": "^0.45.0",
|
||||
"core-js": "^3.33.1",
|
||||
"monaco-editor": "^0.50.0",
|
||||
"universal-cookie": "^7.2.0",
|
||||
"vue-form-create": "^1.2.12",
|
||||
"vue3-print-nb": "^0.1.4",
|
||||
"vxe-table": "^4.5.13",
|
||||
"xe-utils": "3.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ant-design/icons-vue": "^7.0.1",
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@types/node": "^20.8.7",
|
||||
"@types/nprogress": "^0.2.2",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||
"@vitejs/plugin-vue": "^5.1.0",
|
||||
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
||||
"@vueuse/core": "^10.5.0",
|
||||
"@vueuse/integrations": "^10.5.0",
|
||||
"ant-design-vue": "4.0.8",
|
||||
"ant-design-vue": "^4.2.3",
|
||||
"axios": "^1.6.0",
|
||||
"color": "^4.2.3",
|
||||
"dayjs": "^1.11.10",
|
||||
"echarts": "^5.4.3",
|
||||
"less": "^4.2.0",
|
||||
"less-loader": "^11.1.3",
|
||||
"less-loader": "^12.2.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.1.7",
|
||||
"typescript": "^5.2.2",
|
||||
"universal-cookie": "^4.0.4",
|
||||
"unplugin-vue-macros": "^2.6.1",
|
||||
"vite": "^5.0.10",
|
||||
"vue": "^3.3.6",
|
||||
"vite": "^5.3.5",
|
||||
"vue": "^3.4.34",
|
||||
"vue-i18n": "9.6.1",
|
||||
"vue-router": "^4.2.5",
|
||||
"vue-tsc": "^1.8.22",
|
||||
"vuedraggable": "^4.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { message as AntdvMessage, Modal as AntdvModal, notification as AntdvMotification } from "ant-design-vue";
|
||||
import NProgress from "nprogress";
|
||||
import { useCookies } from "@vueuse/integrations/useCookies";
|
||||
|
||||
import Cookies from 'universal-cookie';
|
||||
import AppConsts from "../../utils/AppConsts";
|
||||
|
||||
/**
|
||||
|
|
@ -242,8 +243,8 @@ class Tools {
|
|||
* @param tokenValue
|
||||
*/
|
||||
static setAuthorization(tokenValue: string): void {
|
||||
const cookies = useCookies();
|
||||
|
||||
// const cookies = useCookies();
|
||||
const cookies = new Cookies();
|
||||
cookies.set(AppConsts.tokenKey, tokenValue, {
|
||||
domain: location.host,
|
||||
path: "/",
|
||||
|
|
@ -258,8 +259,8 @@ class Tools {
|
|||
* @returns
|
||||
*/
|
||||
static getAuthorization(): string {
|
||||
const cookies = useCookies();
|
||||
|
||||
// const cookies = useCookies();
|
||||
const cookies = new Cookies();
|
||||
var token = cookies.get<string>(AppConsts.tokenKey);
|
||||
|
||||
if (!token) {
|
||||
|
|
@ -274,7 +275,8 @@ class Tools {
|
|||
* @returns
|
||||
*/
|
||||
static removeAuthorization(): boolean {
|
||||
const cookies = useCookies();
|
||||
// const cookies = useCookies();
|
||||
const cookies = new Cookies();
|
||||
cookies.remove(AppConsts.tokenKey);
|
||||
localStorage.removeItem(AppConsts.tokenKey);
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import Info from "./Info.vue";
|
|||
import Tools from "@/core/utils/Tools";
|
||||
import PageContainer from "@/core/components/PageContainer.vue";
|
||||
import TableCurd from "@/core/components/curd/TableCurd.vue";
|
||||
import TImageConfigService from "@/services/apps/T_Image_Configs/TImageConfigService";
|
||||
|
||||
import TImageConfigService from "@/services/Apps/T_Image_Configs/TImageConfigService";
|
||||
|
||||
defineOptions({ name: "tImageConfigIndex" });
|
||||
|
||||
const state = reactive({
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {nextTick, onMounted, reactive, ref, shallowRef} from "vue";
|
|||
import type {S2DataConfig, S2Options} from '@antv/s2';
|
||||
import {SheetComponent} from '@antv/s2-vue';
|
||||
import "@antv/s2-vue/dist/style.min.css";
|
||||
|
||||
// npm i @antv/s2-vue --force
|
||||
defineOptions({name: "BigDataTableCom"});
|
||||
|
||||
const s2Options = {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user