2019-06-11 17:00:02 +08:00
|
|
|
|
import React from 'react';
|
2023-10-24 16:55:17 +08:00
|
|
|
|
import {render, toast, makeTranslator, LazyComponent, Drawer} from 'amis';
|
2019-06-11 17:00:02 +08:00
|
|
|
|
import axios from 'axios';
|
2021-09-29 20:00:19 +08:00
|
|
|
|
import Portal from 'react-overlays/Portal';
|
2022-06-01 21:35:49 +08:00
|
|
|
|
import {normalizeLink} from 'amis-core';
|
2019-06-05 09:48:22 +08:00
|
|
|
|
import {withRouter} from 'react-router';
|
2020-07-28 18:23:02 +08:00
|
|
|
|
import copy from 'copy-to-clipboard';
|
2023-10-24 12:23:55 +08:00
|
|
|
|
import {qsparse, parseQuery, attachmentAdpator} from 'amis-core';
|
2022-11-23 13:09:21 +08:00
|
|
|
|
import isPlainObject from 'lodash/isPlainObject';
|
2021-01-04 16:46:41 +08:00
|
|
|
|
|
2019-04-30 11:11:25 +08:00
|
|
|
|
function loadEditor() {
|
2019-11-07 10:41:14 +08:00
|
|
|
|
return new Promise(resolve =>
|
2022-11-07 14:43:53 +08:00
|
|
|
|
import('amis-ui').then(component => resolve(component.Editor))
|
2019-11-07 10:41:14 +08:00
|
|
|
|
);
|
2019-04-30 11:11:25 +08:00
|
|
|
|
}
|
2020-11-19 13:47:56 +08:00
|
|
|
|
|
2021-11-23 13:52:37 +08:00
|
|
|
|
const viewMode = localStorage.getItem('amis-viewMode') || 'pc';
|
2020-11-19 13:47:56 +08:00
|
|
|
|
|
2022-11-23 13:09:21 +08:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param {*} schema schema配置
|
|
|
|
|
* @param {*} schemaProps props配置
|
|
|
|
|
* @param {*} showCode 是否展示代码
|
|
|
|
|
* @param {Object} envOverrides 覆写环境变量
|
|
|
|
|
* @returns
|
|
|
|
|
*/
|
|
|
|
|
export default function (schema, schemaProps, showCode, envOverrides) {
|
2019-11-07 10:41:14 +08:00
|
|
|
|
if (!schema['$schema']) {
|
|
|
|
|
schema = {
|
|
|
|
|
...schema
|
|
|
|
|
};
|
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
return withRouter(
|
|
|
|
|
class extends React.Component {
|
|
|
|
|
static displayName = 'SchemaRenderer';
|
2020-11-19 13:47:56 +08:00
|
|
|
|
iframeRef;
|
|
|
|
|
state = {open: false, schema: {}};
|
2021-11-11 15:20:35 +08:00
|
|
|
|
originalTitle = document.title;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
toggleCode = () =>
|
|
|
|
|
this.setState({
|
|
|
|
|
open: !this.state.open
|
2019-04-30 11:11:25 +08:00
|
|
|
|
});
|
2020-07-28 18:23:02 +08:00
|
|
|
|
copyCode = () => {
|
2020-11-03 11:34:23 +08:00
|
|
|
|
copy(JSON.stringify(schema, null, 2));
|
2020-07-28 18:23:02 +08:00
|
|
|
|
toast.success('页面配置JSON已复制到粘贴板');
|
|
|
|
|
};
|
2019-11-07 10:41:14 +08:00
|
|
|
|
close = () =>
|
|
|
|
|
this.setState({
|
|
|
|
|
open: false
|
2019-04-30 11:11:25 +08:00
|
|
|
|
});
|
2019-11-07 10:41:14 +08:00
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
2020-11-19 13:47:56 +08:00
|
|
|
|
|
2023-10-24 16:55:17 +08:00
|
|
|
|
const __ = makeTranslator(props.locale);
|
2022-02-10 19:55:17 +08:00
|
|
|
|
const {history} = props;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
this.env = {
|
|
|
|
|
updateLocation: (location, replace) => {
|
2022-02-10 19:55:17 +08:00
|
|
|
|
history[replace ? 'replace' : 'push'](normalizeLink(location));
|
2019-11-07 10:41:14 +08:00
|
|
|
|
},
|
2020-12-01 15:24:44 +08:00
|
|
|
|
jumpTo: (to, action) => {
|
|
|
|
|
if (to === 'goBack') {
|
2022-02-10 19:55:17 +08:00
|
|
|
|
return history.location.goBack();
|
2020-12-01 15:24:44 +08:00
|
|
|
|
}
|
|
|
|
|
to = normalizeLink(to);
|
|
|
|
|
if (action && action.actionType === 'url') {
|
|
|
|
|
action.blank === false
|
|
|
|
|
? (window.location.href = to)
|
|
|
|
|
: window.open(to);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2021-07-01 00:45:13 +08:00
|
|
|
|
if (action && to && action.target) {
|
|
|
|
|
window.open(to, action.target);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-12-01 15:24:44 +08:00
|
|
|
|
if (/^https?:\/\//.test(to)) {
|
|
|
|
|
window.location.replace(to);
|
|
|
|
|
} else {
|
2022-02-10 19:55:17 +08:00
|
|
|
|
history.push(to);
|
2020-12-01 15:24:44 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2019-11-07 10:41:14 +08:00
|
|
|
|
isCurrentUrl: to => {
|
2022-03-31 15:53:37 +08:00
|
|
|
|
const history = this.props.history;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
const link = normalizeLink(to);
|
2022-03-31 15:53:37 +08:00
|
|
|
|
const location = history.location;
|
|
|
|
|
let pathname = link;
|
|
|
|
|
let search = '';
|
|
|
|
|
const idx = link.indexOf('?');
|
|
|
|
|
if (~idx) {
|
|
|
|
|
pathname = link.substring(0, idx);
|
|
|
|
|
search = link.substring(idx);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (search) {
|
|
|
|
|
if (pathname !== location.pathname || !location.search) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2022-09-29 12:33:24 +08:00
|
|
|
|
const currentQuery = parseQuery(location);
|
2022-03-31 15:53:37 +08:00
|
|
|
|
const query = qsparse(search.substring(1));
|
|
|
|
|
|
|
|
|
|
return Object.keys(query).every(
|
|
|
|
|
key => query[key] === currentQuery[key]
|
|
|
|
|
);
|
|
|
|
|
} else if (pathname === location.pathname) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
},
|
2023-10-24 16:55:17 +08:00
|
|
|
|
fetcher: async api => {
|
|
|
|
|
let {url, method, data, responseType, config, headers} = api;
|
2019-11-07 19:03:58 +08:00
|
|
|
|
config = config || {};
|
2023-10-24 12:23:55 +08:00
|
|
|
|
config.url = url;
|
|
|
|
|
responseType && (config.responseType = responseType);
|
2019-11-07 19:03:58 +08:00
|
|
|
|
|
2020-05-14 11:23:44 +08:00
|
|
|
|
if (config.cancelExecutor) {
|
|
|
|
|
config.cancelToken = new axios.CancelToken(config.cancelExecutor);
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-24 12:23:55 +08:00
|
|
|
|
config.headers = headers || {};
|
|
|
|
|
config.method = method;
|
|
|
|
|
config.data = data;
|
|
|
|
|
|
|
|
|
|
if (method === 'get' && data) {
|
|
|
|
|
config.params = data;
|
|
|
|
|
} else if (data && data instanceof FormData) {
|
2019-11-07 10:41:14 +08:00
|
|
|
|
// config.headers['Content-Type'] = 'multipart/form-data';
|
|
|
|
|
} else if (
|
|
|
|
|
data &&
|
|
|
|
|
typeof data !== 'string' &&
|
|
|
|
|
!(data instanceof Blob) &&
|
|
|
|
|
!(data instanceof ArrayBuffer)
|
|
|
|
|
) {
|
|
|
|
|
data = JSON.stringify(data);
|
|
|
|
|
config.headers['Content-Type'] = 'application/json';
|
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2023-10-24 12:23:55 +08:00
|
|
|
|
// 支持返回各种报错信息
|
|
|
|
|
config.validateStatus = function () {
|
|
|
|
|
return true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
let response = await axios(config);
|
2023-10-24 16:55:17 +08:00
|
|
|
|
response = await attachmentAdpator(response, __, api);
|
2023-10-24 12:23:55 +08:00
|
|
|
|
|
|
|
|
|
if (response.status >= 400) {
|
|
|
|
|
if (response.data) {
|
|
|
|
|
// 主要用于 raw: 模式下,后端自己校验登录,
|
|
|
|
|
if (
|
|
|
|
|
response.status === 401 &&
|
|
|
|
|
response.data.location &&
|
|
|
|
|
response.data.location.startsWith('http')
|
|
|
|
|
) {
|
|
|
|
|
location.href = response.data.location.replace(
|
|
|
|
|
'{{redirect}}',
|
|
|
|
|
encodeURIComponent(location.href)
|
|
|
|
|
);
|
|
|
|
|
return new Promise(() => {});
|
|
|
|
|
} else if (response.data.msg) {
|
|
|
|
|
throw new Error(response.data.msg);
|
2019-11-07 10:41:14 +08:00
|
|
|
|
} else {
|
2023-10-24 12:23:55 +08:00
|
|
|
|
throw new Error(JSON.stringify(response.data, null, 2));
|
2019-11-07 10:41:14 +08:00
|
|
|
|
}
|
2023-10-24 12:23:55 +08:00
|
|
|
|
} else {
|
|
|
|
|
throw new Error(`${response.status}`);
|
2019-11-07 10:41:14 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2023-10-24 12:23:55 +08:00
|
|
|
|
return response;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
},
|
|
|
|
|
isCancel: value => axios.isCancel(value),
|
2021-10-13 11:41:43 +08:00
|
|
|
|
copy: (content, options) => {
|
|
|
|
|
copy(content, options);
|
2020-08-05 14:59:27 +08:00
|
|
|
|
toast.success('内容已复制到粘贴板');
|
2021-01-04 16:46:41 +08:00
|
|
|
|
},
|
|
|
|
|
blockRouting: fn => {
|
2022-02-10 19:55:17 +08:00
|
|
|
|
return history.block(fn);
|
2021-01-10 11:40:26 +08:00
|
|
|
|
},
|
2021-11-12 12:36:44 +08:00
|
|
|
|
tracker(eventTrack) {
|
|
|
|
|
console.debug('eventTrack', eventTrack);
|
|
|
|
|
},
|
2023-08-15 10:09:01 +08:00
|
|
|
|
loadTinymcePlugin: async tinymce => {
|
|
|
|
|
// 参考:https://www.tiny.cloud/docs/advanced/creating-a-plugin/
|
|
|
|
|
/*
|
|
|
|
|
Note: We have included the plugin in the same JavaScript file as the TinyMCE
|
|
|
|
|
instance for display purposes only. Tiny recommends not maintaining the plugin
|
|
|
|
|
with the TinyMCE instance and using the `external_plugins` option.
|
|
|
|
|
*/
|
|
|
|
|
tinymce.PluginManager.add('example', function (editor, url) {
|
|
|
|
|
var openDialog = function () {
|
|
|
|
|
return editor.windowManager.open({
|
|
|
|
|
title: 'Example plugin',
|
|
|
|
|
body: {
|
|
|
|
|
type: 'panel',
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
type: 'input',
|
|
|
|
|
name: 'title',
|
|
|
|
|
label: 'Title'
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
buttons: [
|
|
|
|
|
{
|
|
|
|
|
type: 'cancel',
|
|
|
|
|
text: 'Close'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'submit',
|
|
|
|
|
text: 'Save',
|
|
|
|
|
primary: true
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
onSubmit: function (api) {
|
|
|
|
|
var data = api.getData();
|
|
|
|
|
/* Insert content when the window form is submitted */
|
|
|
|
|
editor.insertContent('Title: ' + data.title);
|
|
|
|
|
api.close();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* Add a button that opens a window */
|
|
|
|
|
editor.ui.registry.addButton('example', {
|
|
|
|
|
text: 'My button',
|
|
|
|
|
onAction: function () {
|
|
|
|
|
/* Open window */
|
|
|
|
|
openDialog();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
/* Adds a menu item, which can then be included in any menu via the menu/menubar configuration */
|
|
|
|
|
editor.ui.registry.addMenuItem('example', {
|
|
|
|
|
text: 'Example plugin',
|
|
|
|
|
onAction: function () {
|
|
|
|
|
/* Open window */
|
|
|
|
|
openDialog();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
/* Return the metadata for the help plugin */
|
|
|
|
|
return {
|
|
|
|
|
getMetadata: function () {
|
|
|
|
|
return {
|
|
|
|
|
name: 'Example plugin',
|
|
|
|
|
url: 'http://exampleplugindocsurl.com'
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
},
|
2021-01-10 11:40:26 +08:00
|
|
|
|
...envOverrides
|
2019-11-07 10:41:14 +08:00
|
|
|
|
};
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
this.handleEditorMount = this.handleEditorMount.bind(this);
|
2020-11-19 13:47:56 +08:00
|
|
|
|
|
|
|
|
|
this.iframeRef = React.createRef();
|
|
|
|
|
this.watchIframeReady = this.watchIframeReady.bind(this);
|
|
|
|
|
window.addEventListener('message', this.watchIframeReady, false);
|
2019-11-07 10:41:14 +08:00
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
handleEditorMount(editor, monaco) {
|
2020-09-30 13:47:25 +08:00
|
|
|
|
let host = `${window.location.protocol}//${window.location.host}`;
|
|
|
|
|
|
|
|
|
|
// 如果在 gh-pages 里面
|
|
|
|
|
if (/^\/amis/.test(window.location.pathname)) {
|
|
|
|
|
host += '/amis';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const schemaUrl = `${host}/schema.json`;
|
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
|
2020-09-30 13:47:25 +08:00
|
|
|
|
schemas: [
|
|
|
|
|
{
|
|
|
|
|
uri: schemaUrl,
|
|
|
|
|
fileMatch: ['*']
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
validate: true,
|
2019-11-07 10:41:14 +08:00
|
|
|
|
enableSchemaRequest: true,
|
2020-09-30 13:47:25 +08:00
|
|
|
|
allowComments: true
|
2019-11-07 10:41:14 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
renderCode() {
|
|
|
|
|
return (
|
|
|
|
|
<LazyComponent
|
|
|
|
|
getComponent={loadEditor}
|
|
|
|
|
editorDidMount={this.handleEditorMount}
|
|
|
|
|
language="json"
|
|
|
|
|
value={schema}
|
|
|
|
|
placeholder="加载中,请稍后。。。"
|
|
|
|
|
disabled
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
|
2020-11-19 13:47:56 +08:00
|
|
|
|
watchIframeReady(event) {
|
|
|
|
|
// iframe 里面的 amis 初始化了就可以发数据
|
|
|
|
|
if (event.data && event.data === 'amisReady') {
|
|
|
|
|
this.updateIframe();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
updateIframe() {
|
|
|
|
|
if (this.iframeRef && this.iframeRef.current) {
|
|
|
|
|
this.iframeRef.current.contentWindow.postMessage(
|
|
|
|
|
{
|
|
|
|
|
schema: schema,
|
|
|
|
|
props: {
|
2022-11-23 13:09:21 +08:00
|
|
|
|
...(isPlainObject(schemaProps) ? schemaProps : {}),
|
2020-11-19 13:47:56 +08:00
|
|
|
|
location: this.props.location,
|
|
|
|
|
theme: this.props.theme,
|
|
|
|
|
locale: this.props.locale
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'*'
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentWillUnmount() {
|
|
|
|
|
this.props.setAsideFolded && this.props.setAsideFolded(false);
|
|
|
|
|
window.removeEventListener('message', this.watchIframeReady, false);
|
2021-11-11 15:20:35 +08:00
|
|
|
|
document.title = this.originalTitle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
if (schema.title) {
|
|
|
|
|
document.title = schema.title;
|
|
|
|
|
}
|
2020-11-19 13:47:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
renderSchema() {
|
2022-02-10 19:55:17 +08:00
|
|
|
|
const {location, theme, locale} = this.props;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
|
2020-11-19 13:47:56 +08:00
|
|
|
|
if (viewMode === 'mobile') {
|
|
|
|
|
return (
|
|
|
|
|
<iframe
|
|
|
|
|
width="375"
|
|
|
|
|
height="100%"
|
|
|
|
|
frameBorder={0}
|
|
|
|
|
className="mobile-frame"
|
|
|
|
|
ref={this.iframeRef}
|
|
|
|
|
// @ts-ignore
|
2020-11-19 19:22:56 +08:00
|
|
|
|
src={__uri('../mobile.html')}
|
2020-11-19 13:47:56 +08:00
|
|
|
|
></iframe>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-07 10:41:14 +08:00
|
|
|
|
return render(
|
|
|
|
|
schema,
|
|
|
|
|
{
|
2022-11-23 13:09:21 +08:00
|
|
|
|
...(isPlainObject(schemaProps) ? schemaProps : {}),
|
2023-05-17 17:21:31 +08:00
|
|
|
|
context: {
|
|
|
|
|
// 上下文信息,无论那层可以获取到这个
|
|
|
|
|
amisUser: {
|
|
|
|
|
id: 1,
|
|
|
|
|
name: 'AMIS User'
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-11-07 10:41:14 +08:00
|
|
|
|
location,
|
2020-06-02 20:41:51 +08:00
|
|
|
|
theme,
|
|
|
|
|
locale
|
2019-11-07 10:41:14 +08:00
|
|
|
|
},
|
|
|
|
|
this.env
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const ns = this.props.classPrefix;
|
2021-01-10 11:40:26 +08:00
|
|
|
|
const finalShowCode = this.props.showCode ?? showCode;
|
2019-11-07 10:41:14 +08:00
|
|
|
|
return (
|
2020-07-28 18:23:02 +08:00
|
|
|
|
<>
|
|
|
|
|
<div className="schema-wrapper">
|
2021-01-10 11:40:26 +08:00
|
|
|
|
{finalShowCode !== false ? (
|
2022-06-01 15:06:00 +08:00
|
|
|
|
<Drawer
|
2020-07-28 18:23:02 +08:00
|
|
|
|
classPrefix={ns}
|
|
|
|
|
size="lg"
|
|
|
|
|
onHide={this.close}
|
|
|
|
|
show={this.state.open}
|
2020-07-29 15:33:25 +08:00
|
|
|
|
// overlay={false}
|
2020-07-28 18:23:02 +08:00
|
|
|
|
closeOnOutside={true}
|
|
|
|
|
position="right"
|
|
|
|
|
>
|
|
|
|
|
{this.state.open ? this.renderCode() : null}
|
2022-06-01 15:06:00 +08:00
|
|
|
|
</Drawer>
|
2020-07-28 18:23:02 +08:00
|
|
|
|
) : null}
|
|
|
|
|
{this.renderSchema()}
|
|
|
|
|
</div>
|
2021-01-10 11:40:26 +08:00
|
|
|
|
{finalShowCode !== false ? (
|
2020-07-28 18:23:02 +08:00
|
|
|
|
// <div className="schema-toolbar-wrapper">
|
|
|
|
|
// <div onClick={this.toggleCode}>
|
|
|
|
|
// 查看页面配置 <i className="fa fa-code p-l-xs"></i>
|
|
|
|
|
// </div>
|
|
|
|
|
// <div onClick={this.copyCode}>
|
|
|
|
|
// 复制页面配置 <i className="fa fa-copy p-l-xs"></i>
|
|
|
|
|
// </div>
|
|
|
|
|
// </div>
|
2020-12-24 20:08:51 +08:00
|
|
|
|
<Portal
|
|
|
|
|
container={() => document.getElementById('Header-toolbar')}
|
|
|
|
|
>
|
|
|
|
|
<div className="hidden-xs hidden-sm ml-3">
|
|
|
|
|
<div>
|
|
|
|
|
<div className="Doc-headingList">
|
|
|
|
|
<div className="Doc-headingList-item">
|
|
|
|
|
<a onClick={this.toggleCode}>
|
|
|
|
|
查看配置 <i className="fa fa-code p-l-xs"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="Doc-headingList-item">
|
|
|
|
|
<a onClick={this.copyCode}>
|
|
|
|
|
复制配置 <i className="fa fa-copy p-l-xs"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2020-07-29 15:33:25 +08:00
|
|
|
|
</div>
|
2020-07-28 18:23:02 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-12-24 20:08:51 +08:00
|
|
|
|
</Portal>
|
2019-11-07 10:41:14 +08:00
|
|
|
|
) : null}
|
2020-07-28 18:23:02 +08:00
|
|
|
|
</>
|
2019-11-07 10:41:14 +08:00
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
);
|
2019-04-30 11:11:25 +08:00
|
|
|
|
}
|