fix(项目管理): 修复应用设置设置项展示问题
This commit is contained in:
parent
b62c7c271b
commit
0bb548561e
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="ms-time-selector">
|
<div class="ms-time-selector">
|
||||||
<a-input-number
|
<a-input-number
|
||||||
v-model="current.value"
|
v-model:model-value="current.value"
|
||||||
class="w-[120px]"
|
class="w-[120px]"
|
||||||
:min="0"
|
:min="0"
|
||||||
hide-button
|
hide-button
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<a-select
|
<a-select
|
||||||
v-model="current.type"
|
v-model:model-value="current.type"
|
||||||
size="small"
|
size="small"
|
||||||
class="max-w-[64px]"
|
class="max-w-[64px]"
|
||||||
:options="option"
|
:options="option"
|
||||||
|
@ -87,6 +87,14 @@
|
||||||
value: 'Y',
|
value: 'Y',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
watch(
|
||||||
|
() => props.modelValue,
|
||||||
|
(v) => {
|
||||||
|
const { value, type } = parseValue(v);
|
||||||
|
current.value = value;
|
||||||
|
current.type = type;
|
||||||
|
}
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
Loading…
Reference in New Issue