feat: 更新element-plus版本前的提交
This commit is contained in:
parent
303dd4fecf
commit
85b7a6645d
@ -10,7 +10,7 @@ import '@/router/premission'
|
||||
import i18n from './i18n/i18nIndex'
|
||||
import * as Cesium from '../node_modules/cesium/Source/Cesium'
|
||||
import '../node_modules/cesium/Source/Widgets/widgets.css'
|
||||
import filters from './utils/filters'
|
||||
import filters from '@/utils/filters'
|
||||
|
||||
const app = createApp(App)
|
||||
SvgIcon(app)
|
||||
|
@ -17,36 +17,29 @@
|
||||
v-for="(item, index) in transTitle"
|
||||
:label="item"
|
||||
:key="index"
|
||||
:index="index + ''"
|
||||
align="center"
|
||||
>
|
||||
<template v-slot="scope">
|
||||
{{ scope.row[index] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="60" align="center">
|
||||
<el-icon><Edit /></el-icon>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { Edit } from '@element-plus/icons-vue'
|
||||
|
||||
const originData = ref([
|
||||
({
|
||||
{
|
||||
name: '湖北省武汉市某区',
|
||||
region: '武汉市',
|
||||
elevation: '150m'
|
||||
},
|
||||
{
|
||||
name: '湖北省武汉市某区',
|
||||
region: '黄石市',
|
||||
elevation: '200m'
|
||||
},
|
||||
{
|
||||
name: '湖北省武汉市某区',
|
||||
region: '荆州市',
|
||||
elevation: '200m'
|
||||
})
|
||||
}
|
||||
])
|
||||
// originTitle 该标题为 正常显示的标题, 数组中的顺序就是上面数据源对象中的字段标题对应的顺序
|
||||
const originTitle = ref(['行政区划', '隶属', '海拔'])
|
||||
|
@ -39,8 +39,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineEmits, ref, defineProps, watch } from 'vue'
|
||||
// import { defineEmits, ref, defineProps } from 'vue'
|
||||
import { ref, watch } from 'vue'
|
||||
import { addUser, editUser } from '@/api/user'
|
||||
import i18n from '@/i18n/i18nIndex'
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
@ -83,6 +83,10 @@ import { isNull } from '@/utils/filters'
|
||||
|
||||
const i18n = useI18n()
|
||||
|
||||
const small = ref(false)
|
||||
const background = ref(false)
|
||||
const disabled = ref(false)
|
||||
|
||||
const queryFrom = ref({
|
||||
query: '',
|
||||
pagenum: 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user