:add 适配2.8

This commit is contained in:
wmn 2022-08-01 21:48:48 +08:00
parent 16e762954e
commit 455db7feb3
6 changed files with 22 additions and 23 deletions

4
src/components.d.ts vendored
View File

@ -10,12 +10,8 @@ declare module '@vue/runtime-core' {
ACheckbox: typeof import('@arco-design/web-vue')['Checkbox'] ACheckbox: typeof import('@arco-design/web-vue')['Checkbox']
ADescriptions: typeof import('@arco-design/web-vue')['Descriptions'] ADescriptions: typeof import('@arco-design/web-vue')['Descriptions']
ADrawer: typeof import('@arco-design/web-vue')['Drawer'] ADrawer: typeof import('@arco-design/web-vue')['Drawer']
AForm: typeof import('@arco-design/web-vue')['Form']
AFormItem: typeof import('@arco-design/web-vue')['FormItem']
AInput: typeof import('@arco-design/web-vue')['Input'] AInput: typeof import('@arco-design/web-vue')['Input']
AInputGroup: typeof import('@arco-design/web-vue')['InputGroup']
AInputNumber: typeof import('@arco-design/web-vue')['InputNumber'] AInputNumber: typeof import('@arco-design/web-vue')['InputNumber']
AInputPassword: typeof import('@arco-design/web-vue')['InputPassword']
ALink: typeof import('@arco-design/web-vue')['Link'] ALink: typeof import('@arco-design/web-vue')['Link']
AMenu: typeof import('@arco-design/web-vue')['Menu'] AMenu: typeof import('@arco-design/web-vue')['Menu']
AMenuItem: typeof import('@arco-design/web-vue')['MenuItem'] AMenuItem: typeof import('@arco-design/web-vue')['MenuItem']

View File

@ -13,7 +13,7 @@ var uid = ref('@')
var num = ref(1000) var num = ref(1000)
const value = computed(() => { const value = computed(() => {
return `give ${uid.value} ${value2.value} ${num.value}` return `give ${uid.value} ${value2.value} x${num.value}`
}) })
const options = reactive([ const options = reactive([
{ {

View File

@ -25,8 +25,7 @@ const value = computed(() => {
xct = xct + ` ${k.value},${k.num}` xct = xct + ` ${k.value},${k.num}`
} }
}) })
return `giveart ${uid.value} ${holyrelicnamevalue.value} ${holyrelicnmainvalue.value}${xct} ${grade.value + 1 return `give ${uid.value} ${holyrelicnamevalue.value} lv${grade.value} ${holyrelicnmainvalue.value}${xct} `
}`
}) })
const options = reactive(holyrelicname) const options = reactive(holyrelicname)

View File

@ -10,33 +10,37 @@ const appStore = useAppStore()
const options = reactive([ const options = reactive([
{ {
title: '治疗队伍中所有角色', title: '无敌',
value: 'heal', value: 'prop god on',
}, },
{ {
title: '列出在线玩家', title: '无限体力',
value: 'list', value: 'prop ns on',
}, },
{ {
title: '获取当前坐标', title: '无限能量',
value: 'position', value: 'prop ue on',
}, },
{ {
title: '重载服务器配置', title: '治疗',
value: 'reload', value: 'h',
}, },
{ {
title: '重启服务端', title: '设置纪行等级',
isuse: '均可使用', // isuse: '使',
value: 'restart', value: 'prop bp 50',
}, },
{ {
title: '停止服务器', title: '一键解锁深渊',
value: 'stop', value: 'prop ut 12',
}, },
{ {
title: '世界等级8', title: '世界等级8',
value: 'setworldlevel 8', value: 'prop wl 8',
},
{
title: '全队充能',
value: 'spawn 2008 25',
}, },
]) ])
const message = Message const message = Message

View File

@ -14,7 +14,7 @@ var uid = ref("@")
var num = ref() var num = ref()
const value = computed(() => { const value = computed(() => {
return `${value3.value} ${uid.value} ${value2.value} ${num.value}` return `${value3.value} ${uid.value} ${value2.value} x${num.value}`
}) })
const options = reactive(thing) const options = reactive(thing)
const options2 = reactive([ const options2 = reactive([

View File

@ -15,7 +15,7 @@ var grade = ref(90)
var refined = ref(5) var refined = ref(5)
const value = computed(() => { const value = computed(() => {
return `give ${uid.value} ${value2.value} ${num.value} ${grade.value} ${refined.value}` return `give ${uid.value} ${value2.value} x${num.value} lv${grade.value} r${refined.value}`
}) })
const options = reactive(weapon) const options = reactive(weapon)