修复管理员bug
This commit is contained in:
@@ -77,11 +77,13 @@
|
|||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, ref, createVNode, computed } from "vue";
|
import { defineComponent, ref, createVNode, computed } from "vue";
|
||||||
|
import { useStore } from "vuex";
|
||||||
import { Https } from "@/tool/https";
|
import { Https } from "@/tool/https";
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
|
const store:any = useStore()
|
||||||
let rangePickerValue: any = ref([]);
|
let rangePickerValue: any = ref([]);
|
||||||
let rangeTimeValue: any = ref([]);
|
let rangeTimeValue: any = ref([]);
|
||||||
let renameData: any = ref({}); //修改名字选中的数据
|
let renameData: any = ref({}); //修改名字选中的数据
|
||||||
@@ -200,7 +202,9 @@ export default defineComponent({
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
let allUserList: any = ref([]);
|
let allUserList: any = computed(()=>{
|
||||||
|
return store.state.adminPage.allUserList
|
||||||
|
})
|
||||||
let ids = ref([])
|
let ids = ref([])
|
||||||
let email = ref('')
|
let email = ref('')
|
||||||
let dataList: any = ref([]);
|
let dataList: any = ref([]);
|
||||||
@@ -237,10 +241,6 @@ export default defineComponent({
|
|||||||
let historyTable: any = this.$refs.historyTable;
|
let historyTable: any = this.$refs.historyTable;
|
||||||
this.historyTableHeight = historyTable.clientHeight - 200;
|
this.historyTableHeight = historyTable.clientHeight - 200;
|
||||||
this.gettrialList();
|
this.gettrialList();
|
||||||
let allUserList: any = sessionStorage.getItem("allUserList");
|
|
||||||
if (allUserList) {
|
|
||||||
this.allUserList = JSON.parse(allUserList);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//改变页码
|
//改变页码
|
||||||
|
|||||||
Reference in New Issue
Block a user