店铺编辑增加显示数字编号

This commit is contained in:
zhl 2021-06-04 19:41:45 +08:00
parent 9ff61ef0d6
commit cac377365c
5 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "Vue Typescript Admin",
"short_name": "Vue Ts Admin",
"name": "Game Admin",
"short_name": "Game Admin",
"icons": [
{
"src": "./img/icons/android-chrome-192x192.png",

1
src/api/types.d.ts vendored
View File

@ -30,4 +30,5 @@ export interface IShopData {
category?: string
qtypes: string[]
location?: number[]
numid?: number
}

View File

@ -36,6 +36,13 @@
>
{{postForm.sid}}
</el-form-item>
<el-form-item
label="编号"
prop="numid"
v-if="postForm.numid"
>
{{postForm.numid}}
</el-form-item>
<el-form-item
label="显示名"
prop="showName"

View File

@ -62,6 +62,13 @@
</router-link>
</template>
</el-table-column>
<el-table-column
label="编号"
>
<template slot-scope="{row}">
<span>{{ row.numid }}</span>
</template>
</el-table-column>
<el-table-column
label="ID"
>

View File

@ -1,5 +1,5 @@
const path = require('path')
const name = 'Vue Typescript Admin'
const name = 'Game Admin'
module.exports = {
// TODO: Remember to change publicPath to fit your need