@@ -178,6 +178,9 @@ export default {
this.$set(this.editor, `skin_url`, skin_url);
this.$set(this.editor, `lang_url`, lang_url);
},
+ uploadSuccess({ type, data }) {
+ this.$set(this.newform, `${type}`, data.uri);
+ },
};
</script>
@@ -24,10 +24,10 @@ module.exports = {
ws: true,
'/files': {
- target: 'http://broadcast.waityou24.cn/',
+ target: 'http://broadcast.waityou24.cn',
'/api': {
- target: 'http://127.0.0.1:3001',
changeOrigin: true,