From a6ed23b018343a68f9fd276647cc4af817398d1b Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期四, 01 二月 2024 15:21:26 +0800 Subject: [PATCH] feat:修改部分问题 --- src/views/sys/oss-manage/ossManage.vue | 90 ++++++++++++++++++++++---------------------- 1 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/views/sys/oss-manage/ossManage.vue b/src/views/sys/oss-manage/ossManage.vue index 3514ccc..c09a69b 100644 --- a/src/views/sys/oss-manage/ossManage.vue +++ b/src/views/sys/oss-manage/ossManage.vue @@ -385,12 +385,12 @@ minWidth: 130, sortable: true, }, - { - title: "瀛樺偍鏂囦欢鍚�", - key: "fkey", - minWidth: 165, - sortable: true, - }, + // { + // title: "瀛樺偍鏂囦欢鍚�", + // key: "fkey", + // minWidth: 165, + // sortable: true, + // }, { title: "缂╃暐鍥�(鐐瑰嚮棰勮)", key: "url", @@ -664,43 +664,43 @@ ); }, }, - { - title: "瀛樺偍浣嶇疆", - key: "location", - align: "center", - width: 110, - render: (h, params) => { - let location = "", - color = ""; - if (params.row.location == 0) { - location = "鏈湴鏈嶅姟鍣�"; - color = "green"; - } else if (params.row.location == 1) { - location = "涓冪墰浜�"; - color = "blue"; - } else if (params.row.location == 2) { - location = "闃块噷浜�"; - color = "orange"; - } else if (params.row.location == 3) { - location = "鑵捐浜�"; - color = "geekblue"; - } else if (params.row.location == 4) { - location = "MinIO"; - color = "magenta"; - } - return h("div", [ - h( - "Tag", - { - props: { - color: color, - }, - }, - location - ), - ]); - }, - }, + // { + // title: "瀛樺偍浣嶇疆", + // key: "location", + // align: "center", + // width: 110, + // render: (h, params) => { + // let location = "", + // color = ""; + // if (params.row.location == 0) { + // location = "鏈湴鏈嶅姟鍣�"; + // color = "green"; + // } else if (params.row.location == 1) { + // location = "涓冪墰浜�"; + // color = "blue"; + // } else if (params.row.location == 2) { + // location = "闃块噷浜�"; + // color = "orange"; + // } else if (params.row.location == 3) { + // location = "鑵捐浜�"; + // color = "geekblue"; + // } else if (params.row.location == 4) { + // location = "MinIO"; + // color = "magenta"; + // } + // return h("div", [ + // h( + // "Tag", + // { + // props: { + // color: color, + // }, + // }, + // location + // ), + // ]); + // }, + // }, { title: "鍒涘缓鏃堕棿", key: "createTime", @@ -794,7 +794,7 @@ }, init() { this.accessToken = { - accessToken: this.getStore("accessToken"), + accessToken: this.getSessionStore("accessToken"), }; checkOssSet().then((res) => { if (!res.success) { @@ -1133,4 +1133,4 @@ this.init(); }, }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.1