|
|
@ -10,6 +10,7 @@ import {cache} from './cache'; |
|
|
|
import {API_VERSION_PARAM, THUHOLE_API_ROOT, API, get_json, token_param} from './flows_api'; |
|
|
|
import {API_VERSION_PARAM, THUHOLE_API_ROOT, API, get_json, token_param} from './flows_api'; |
|
|
|
|
|
|
|
|
|
|
|
import './UserAction.css'; |
|
|
|
import './UserAction.css'; |
|
|
|
|
|
|
|
import {ColorPicker} from "./color_picker"; |
|
|
|
|
|
|
|
|
|
|
|
const BASE64_RATE=4/3; |
|
|
|
const BASE64_RATE=4/3; |
|
|
|
const MAX_IMG_DIAM=8000; |
|
|
|
const MAX_IMG_DIAM=8000; |
|
|
@ -723,7 +724,7 @@ export class PostForm extends Component { |
|
|
|
this.state.loading_status!=='done' ? |
|
|
|
this.state.loading_status!=='done' ? |
|
|
|
<button disabled="disabled"> |
|
|
|
<button disabled="disabled"> |
|
|
|
<span className="icon icon-loading" /> |
|
|
|
<span className="icon icon-loading" /> |
|
|
|
正在{this.state.loading_status==='processing' ? '处理' : '上传'} |
|
|
|
{this.state.loading_status==='processing' ? '处理' : '上传'} |
|
|
|
</button> : |
|
|
|
</button> : |
|
|
|
<button type="submit"> |
|
|
|
<button type="submit"> |
|
|
|
<span className="icon icon-send" /> |
|
|
|
<span className="icon icon-send" /> |
|
|
|