Commit e05a71e8 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化应用列表显示

parent 640150cf
......@@ -77,7 +77,7 @@
</template>
<!-- 类型 -->
<template slot="appType" slot-scope="text">
{{ text.appType === 1 ? "应用程序" : "URL" }}
{{ appType[text.appType] }}
</template>
<!-- 上下架 -->
<template slot="shelves" slot-scope="text">
......@@ -150,6 +150,13 @@ import {
import local from "@/utils/local";
import { mapMutations, mapGetters } from "vuex";
import { pageSizeOptions } from "@/config/pageConfig.js";
let appType = {
1: "应用程序",
2: "URL",
3: "微信小程序",
4: "天府通办",
5: "Router",
};
const columns = [
{
title: "序号",
......@@ -211,6 +218,7 @@ export default {
return {
api: process.env.VUE_APP_API_BASE_URL + "/",
columns,
appType,
siteId: local.getLocal("siteId"),
tableData: [], // 表格数据
loading: false,
......
......@@ -77,7 +77,7 @@
</template>
<!-- 类型 -->
<template slot="appType" slot-scope="text">
{{ text.appType === 1 ? "应用程序" : "URL" }}
{{ appType[text.appType] }}
</template>
<!-- 上下架 -->
<template slot="shelves" slot-scope="text">
......@@ -150,6 +150,13 @@ import {
import local from "@/utils/local";
import { mapMutations, mapGetters } from "vuex";
import { pageSizeOptions } from "@/config/pageConfig.js";
let appType = {
1: "应用程序",
2: "URL",
3: "微信小程序",
4: "天府通办",
5: "Router",
};
const columns = [
{
title: "序号",
......@@ -211,6 +218,7 @@ export default {
return {
api: process.env.VUE_APP_API_BASE_URL + "/",
columns,
appType,
siteId: local.getLocal("siteId"),
tableData: [], // 表格数据
loading: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment