Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
e681d469
U
uni-app
项目概览
DCloud
/
uni-app
2 个月 前同步成功
通知
717
Star
38705
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
7
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
7
Issue
7
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e681d469
编写于
5月 14, 2021
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(h5): get picker's value in form
上级
99f8bb98
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
49 addition
and
48 deletion
+49
-48
packages/uni-components/src/index.ts
packages/uni-components/src/index.ts
+2
-0
packages/uni-h5/dist/uni-h5.cjs.js
packages/uni-h5/dist/uni-h5.cjs.js
+15
-15
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+30
-31
packages/uni-h5/src/view/components/picker/index.vue
packages/uni-h5/src/view/components/picker/index.vue
+2
-2
未找到文件。
packages/uni-components/src/index.ts
浏览文件 @
e681d469
...
...
@@ -19,3 +19,5 @@ export {
defineBuiltInComponent
,
defineSystemComponent
,
}
from
'
./helpers/component
'
export
{
uniFormKey
}
from
'
./components/form
'
export
type
{
UniFormCtx
}
from
'
./components/form
'
packages/uni-h5/dist/uni-h5.cjs.js
浏览文件 @
e681d469
...
...
@@ -1171,7 +1171,7 @@ function initHistory() {
return
vueRouter
.
createMemoryHistory
(
base
);
}
}
var
index$
p
=
{
var
index$
q
=
{
install
(
app
)
{
initApp$1
(
app
);
if
(
__UNI_FEATURE_PAGES__
)
{
...
...
@@ -1553,8 +1553,8 @@ function useBooleanAttr(props2, keys) {
return
res
;
},
Object
.
create
(
null
));
}
const
uniFormKey
$1
=
PolySymbol
(
process
.
env
.
NODE_ENV
!==
"
production
"
?
"
uniForm
"
:
"
uf
"
);
var
Form
=
/* @__PURE__ */
defineBuiltInComponent
({
const
uniFormKey
=
PolySymbol
(
process
.
env
.
NODE_ENV
!==
"
production
"
?
"
uniForm
"
:
"
uf
"
);
var
index$p
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Form
"
,
setup
(
_props
,
{
slots
,
...
...
@@ -1566,7 +1566,7 @@ var Form = /* @__PURE__ */ defineBuiltInComponent({
});
function
provideForm
(
emit2
)
{
const
fields2
=
[];
vue
.
provide
(
uniFormKey
$1
,
{
vue
.
provide
(
uniFormKey
,
{
addField
(
field
)
{
fields2
.
push
(
field
);
},
...
...
@@ -1632,7 +1632,7 @@ var index$o = /* @__PURE__ */ defineBuiltInComponent({
setup
(
props2
,
{
slots
})
{
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
const
{
hovering
,
binding
...
...
@@ -2301,7 +2301,7 @@ function useProvideCheckGroup(props2, trigger) {
});
}
});
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
uniForm
)
{
uniForm
.
addField
({
submit
:
()
=>
{
...
...
@@ -2449,7 +2449,7 @@ function useCheckboxInject(checkboxChecked, checkboxValue, reset) {
if
(
!!
uniCheckGroup
)
{
uniCheckGroup
.
addField
(
field
);
}
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
!!
uniForm
)
{
uniForm
.
addField
(
formField
);
}
...
...
@@ -2972,7 +2972,7 @@ function useScopedAttrs() {
};
}
function
useFormField
(
nameKey
,
value
)
{
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
!
uniForm
)
{
return
;
}
...
...
@@ -5598,7 +5598,7 @@ function useProvideRadioGroup(props2, trigger) {
});
}
});
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
uniForm
)
{
uniForm
.
addField
({
submit
:
()
=>
{
...
...
@@ -5727,7 +5727,7 @@ function useRadioInject(radioChecked, radioValue, reset) {
if
(
!!
uniCheckGroup
)
{
uniCheckGroup
.
addField
(
field
);
}
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
!!
uniForm
)
{
uniForm
.
addField
(
formField
);
}
...
...
@@ -7336,7 +7336,7 @@ function useSliderLoader(props2, sliderValue, sliderRef, sliderValueRef, trigger
});
}
};
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
if
(
!!
uniForm
)
{
const
field
=
{
reset
:
()
=>
sliderValue
.
value
=
Number
(
props2
.
min
),
...
...
@@ -7954,7 +7954,7 @@ var index$9 = /* @__PURE__ */ defineBuiltInComponent({
}
});
function
useSwitchInject
(
props2
,
switchChecked
)
{
const
uniForm
=
vue
.
inject
(
uniFormKey
$1
,
false
);
const
uniForm
=
vue
.
inject
(
uniFormKey
,
false
);
const
uniLabel
=
vue
.
inject
(
uniLabelKey
,
false
);
const
formField
=
{
submit
:
()
=>
{
...
...
@@ -9859,7 +9859,6 @@ function usePopupStyle(props2) {
popupStyle
};
}
const
{
UniFormCtx
,
uniFormKey
}
=
Form
;
const
{
t
,
getLocale
}
=
useI18n
();
function
getDefaultStartValue
()
{
if
(
this
.
mode
===
mode
.
TIME
)
{
...
...
@@ -11691,7 +11690,7 @@ exports.CheckboxGroup = index$n;
exports
.
CoverImage
=
_sfc_main$2
;
exports
.
CoverView
=
_sfc_main$3
;
exports
.
Editor
=
index$k
;
exports
.
Form
=
Form
;
exports
.
Form
=
index$p
;
exports
.
Friction
=
Friction$1
;
exports
.
Icon
=
index$j
;
exports
.
Image
=
index$i
;
...
...
@@ -11738,7 +11737,7 @@ exports.getStorageInfoSync = getStorageInfoSync;
exports
.
getStorageSync
=
getStorageSync
;
exports
.
getSystemInfoSync
=
getSystemInfoSync
;
exports
.
initScrollBounce
=
initScrollBounce
;
exports
.
plugin
=
index$
p
;
exports
.
plugin
=
index$
q
;
exports
.
removeStorage
=
removeStorage
;
exports
.
removeStorageSync
=
removeStorageSync
;
exports
.
request
=
request
;
...
...
@@ -11747,6 +11746,7 @@ exports.setStorageSync = setStorageSync;
exports
.
setupApp
=
setupApp
;
exports
.
setupPage
=
setupPage
;
exports
.
uni
=
uni$1
;
exports
.
uniFormKey
=
uniFormKey
;
exports
.
useAttrs
=
useAttrs
;
exports
.
useBooleanAttr
=
useBooleanAttr
;
exports
.
useCustomEvent
=
useCustomEvent
;
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
e681d469
...
...
@@ -485,7 +485,7 @@ var safeAreaInsets = {
onChange,
offChange
};
var out = safeAreaInsets;
var
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out = safeAreaInsets;
const onEventPrevent = /* @__PURE__ */ withModifiers(() => {
}, ["prevent"]);
const onEventStop = /* @__PURE__ */ withModifiers(() => {
...
...
@@ -497,10 +497,10 @@ function getWindowOffset() {
const left = parseInt(style.getPropertyValue("--window-left"));
const right = parseInt(style.getPropertyValue("--window-right"));
return {
top: top ? top + out.top : 0,
bottom: bottom ? bottom + out.bottom : 0,
left: left ? left + out.left : 0,
right: right ? right + out.right : 0
top: top ? top +
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.top : 0,
bottom: bottom ? bottom +
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.bottom : 0,
left: left ? left +
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.left : 0,
right: right ? right +
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.right : 0
};
}
function updateCssVar(cssVars) {
...
...
@@ -1179,7 +1179,7 @@ function normalizePageMeta(pageMeta) {
let offset = rpx2px(refreshOptions.offset);
const {type} = navigationBar;
if (type !== "transparent" && type !== "none") {
offset += NAVBAR_HEIGHT + out.top;
offset += NAVBAR_HEIGHT +
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.top;
}
refreshOptions.offset = offset;
refreshOptions.height = rpx2px(refreshOptions.height);
...
...
@@ -4776,7 +4776,7 @@ function initHistory() {
});
return history2;
}
var index$
m
= {
var index$
n
= {
install(app) {
initApp$1(app);
initView(app);
...
...
@@ -5209,8 +5209,8 @@ function useBooleanAttr(props2, keys) {
return res;
}, Object.create(null));
}
const uniFormKey
$1
= PolySymbol(process.env.NODE_ENV !== "production" ? "uniForm" : "uf");
var
For
m = /* @__PURE__ */ defineBuiltInComponent({
const uniFormKey = PolySymbol(process.env.NODE_ENV !== "production" ? "uniForm" : "uf");
var
index$
m = /* @__PURE__ */ defineBuiltInComponent({
name: "Form",
setup(_props, {
slots,
...
...
@@ -5222,7 +5222,7 @@ var Form = /* @__PURE__ */ defineBuiltInComponent({
});
function provideForm(emit2) {
const fields2 = [];
provide(uniFormKey
$1
, {
provide(uniFormKey, {
addField(field) {
fields2.push(field);
},
...
...
@@ -5288,7 +5288,7 @@ var index$l = /* @__PURE__ */ defineBuiltInComponent({
setup(props2, {
slots
}) {
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
const {
hovering,
binding
...
...
@@ -6157,7 +6157,7 @@ function useProvideCheckGroup(props2, trigger) {
});
}
});
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (uniForm) {
uniForm.addField({
submit: () => {
...
...
@@ -6311,7 +6311,7 @@ function useCheckboxInject(checkboxChecked, checkboxValue, reset) {
if (!!uniCheckGroup) {
uniCheckGroup.addField(field);
}
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (!!uniForm) {
uniForm.addField(formField);
}
...
...
@@ -7477,7 +7477,7 @@ function useScopedAttrs() {
};
}
function useFormField(nameKey, value) {
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (!uniForm) {
return;
}
...
...
@@ -10416,7 +10416,7 @@ function useProvideRadioGroup(props2, trigger) {
});
}
});
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (uniForm) {
uniForm.addField({
submit: () => {
...
...
@@ -10551,7 +10551,7 @@ function useRadioInject(radioChecked, radioValue, reset) {
if (!!uniCheckGroup) {
uniCheckGroup.addField(field);
}
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (!!uniForm) {
uniForm.addField(formField);
}
...
...
@@ -12167,7 +12167,7 @@ function useSliderLoader(props2, sliderValue, sliderRef, sliderValueRef, trigger
});
}
};
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
if (!!uniForm) {
const field = {
reset: () => sliderValue.value = Number(props2.min),
...
...
@@ -12932,7 +12932,7 @@ var index$a = /* @__PURE__ */ defineBuiltInComponent({
}
});
function useSwitchInject(props2, switchChecked) {
const uniForm = inject(uniFormKey
$1
, false);
const uniForm = inject(uniFormKey, false);
const uniLabel = inject(uniLabelKey, false);
const formField = {
submit: () => {
...
...
@@ -14974,7 +14974,7 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
const windowWidth = getWindowWidth(screenWidth);
let windowHeight = window.innerHeight;
const language = navigator.language;
const statusBarHeight = out.top;
const statusBarHeight =
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.top;
let osname;
let osversion;
let model;
...
...
@@ -15087,12 +15087,12 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
const system = `${osname} ${osversion}`;
const platform = osname.toLocaleLowerCase();
const safeArea = {
left: out.left,
right: windowWidth - out.right,
top: out.top,
bottom: windowHeight - out.bottom,
width: windowWidth -
out.left -
out.right,
height: windowHeight -
out.top -
out.bottom
left:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.left,
right: windowWidth -
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.right,
top:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.top,
bottom: windowHeight -
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.bottom,
width: windowWidth -
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.right,
height: windowHeight -
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.bottom
};
const {top: windowTop, bottom: windowBottom} = getWindowOffset();
windowHeight -= windowTop;
...
...
@@ -15112,10 +15112,10 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
model,
safeArea,
safeAreaInsets: {
top: out.top,
right: out.right,
bottom: out.bottom,
left: out.left
top:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.top,
right:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.right,
bottom:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.bottom,
left:
D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_
out.left
}
};
});
...
...
@@ -18059,7 +18059,6 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
], 8, ["src"]);
}
_sfc_main$2.render = _sfc_render$2;
const {UniFormCtx, uniFormKey} = Form;
const {t, getLocale} = useI18n();
function getDefaultStartValue() {
if (this.mode === mode.TIME) {
...
...
@@ -19892,4 +19891,4 @@ var index = /* @__PURE__ */ defineSystemComponent({
return openBlock(), createBlock("div", clazz, [loadingVNode]);
}
});
export {index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, _sfc_main$8 as Audio, index$l as Button, _sfc_main$7 as Canvas, index$i as Checkbox, index$k as CheckboxGroup, _sfc_main$2 as CoverImage, _sfc_main$3 as CoverView, index$h as Editor,
Form, Friction$1 as Friction, index$g as Icon, index$f as Image, Input, index$j as Label, LayoutComponent, index$3 as Map, MovableArea, MovableView, _sfc_main$6 as Navigator, index$2 as PageComponent, _sfc_main$1 as Picker, PickerView, PickerViewColumn, index$e as Progress, index$c as Radio, index$d as RadioGroup, ResizeSensor, _sfc_main$5 as RichText, _sfc_main$4 as ScrollView, Scroller$1 as Scroller, index$b as Slider, Spring$1 as Spring, Swiper, SwiperItem, index$a as Switch, index$9 as Text, index$8 as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$6 as Video, index$7 as View, index$5 as WebView, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseVideo, clearStorage, clearStorageSync, closeSocket, connectSocket, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createMapContext, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, defineBuiltInComponent, defineSystemComponent, disableScrollBounce, downloadFile, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getFileInfo, getImageInfo, getLocation, getNetworkType, getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getVideoInfo, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideTabBarRedDot, hideToast, initScrollBounce, loadFontFace, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offCompassChange, offNetworkStatusChange, onAccelerometerChange, onCompassChange, onNetworkStatusChange, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, openDocument, openLocation, pageScrollTo, index$m as plugin, previewImage, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, removeStorage, removeStorageSync, removeTabBarBadge, request, sendSocketMessage, setNavigationBarColor, setNavigationBarTitle, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setupApp, setupPage, showActionSheet, showLoading, showModal, showNavigationBarLoading, showTabBar, showTabBarRedDot, showToast, startAccelerometer, startCompass, startPullDownRefresh, stopAccelerometer, stopCompass, stopPullDownRefresh, switchTab, uni$1 as uni
, uploadFile, upx2px, useAttrs, useBooleanAttr, useCustomEvent, useNativeEvent, useOn, useScroller, useSubscribe, useTouchtrack, useUserAction, vibrateLong, vibrateShort, withWebEvent};
export {index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, _sfc_main$8 as Audio, index$l as Button, _sfc_main$7 as Canvas, index$i as Checkbox, index$k as CheckboxGroup, _sfc_main$2 as CoverImage, _sfc_main$3 as CoverView, index$h as Editor,
index$m as Form, Friction$1 as Friction, index$g as Icon, index$f as Image, Input, index$j as Label, LayoutComponent, index$3 as Map, MovableArea, MovableView, _sfc_main$6 as Navigator, index$2 as PageComponent, _sfc_main$1 as Picker, PickerView, PickerViewColumn, index$e as Progress, index$c as Radio, index$d as RadioGroup, ResizeSensor, _sfc_main$5 as RichText, _sfc_main$4 as ScrollView, Scroller$1 as Scroller, index$b as Slider, Spring$1 as Spring, Swiper, SwiperItem, index$a as Switch, index$9 as Text, index$8 as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$6 as Video, index$7 as View, index$5 as WebView, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseVideo, clearStorage, clearStorageSync, closeSocket, connectSocket, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createMapContext, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, defineBuiltInComponent, defineSystemComponent, disableScrollBounce, downloadFile, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getFileInfo, getImageInfo, getLocation, getNetworkType, getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getVideoInfo, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideTabBarRedDot, hideToast, initScrollBounce, loadFontFace, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offCompassChange, offNetworkStatusChange, onAccelerometerChange, onCompassChange, onNetworkStatusChange, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, openDocument, openLocation, pageScrollTo, index$n as plugin, previewImage, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, removeStorage, removeStorageSync, removeTabBarBadge, request, sendSocketMessage, setNavigationBarColor, setNavigationBarTitle, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setupApp, setupPage, showActionSheet, showLoading, showModal, showNavigationBarLoading, showTabBar, showTabBarRedDot, showToast, startAccelerometer, startCompass, startPullDownRefresh, stopAccelerometer, stopCompass, stopPullDownRefresh, switchTab, uni$1 as uni, uniFormKey
, uploadFile, upx2px, useAttrs, useBooleanAttr, useCustomEvent, useNativeEvent, useOn, useScroller, useSubscribe, useTouchtrack, useUserAction, vibrateLong, vibrateShort, withWebEvent};
packages/uni-h5/src/view/components/picker/index.vue
浏览文件 @
e681d469
...
...
@@ -95,14 +95,14 @@ import {
useBooleanAttr
,
useCustomEvent
,
withWebEvent
,
Form
,
PickerView
,
PickerViewColumn
,
UniFormCtx
,
uniFormKey
,
}
from
"
@dcloudio/uni-components
"
;
import
{
formatDateTime
}
from
"
@dcloudio/uni-shared
"
;
import
{
usePopupStyle
}
from
"
../../../helpers/usePopupStyle
"
;
import
{
initI18nPickerMsgsOnce
,
useI18n
}
from
"
@dcloudio/uni-core
"
;
const
{
UniFormCtx
,
uniFormKey
}
=
Form
;
const
{
t
,
getLocale
}
=
useI18n
();
function
getDefaultStartValue
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录