Commit 9cdca087 authored by zhengke's avatar zhengke

修改

parent 765c2181
...@@ -520,6 +520,7 @@ ...@@ -520,6 +520,7 @@
</div> </div>
</template> </template>
<script> <script>
import {UploadSelfFile} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -585,9 +586,9 @@ ...@@ -585,9 +586,9 @@
newArr.push(file.file); newArr.push(file.file);
let fileName = file.file.name; let fileName = file.file.name;
var path = "/Upload/Temporary/"; var path = "/Upload/Temporary/";
this.UploadSelfFileT(path, newArr, x => { UploadSelfFile('Temporary', file.file, x => {
this.imageUrl = this.domainManager().ViittoFileUrl + x.data.FilePath; this.imageUrl = x.FileUrl;
this.addMsg.Logo = x.data.FilePath; this.addMsg.Logo = x.FileUrl;
}); });
}, },
switchMethod(t) { switchMethod(t) {
...@@ -754,7 +755,7 @@ ...@@ -754,7 +755,7 @@
}, },
goUrl(path, id) { goUrl(path, id) {
this.$router.push({ this.$router.push({
name: path, path: path,
query: { query: {
'BackId': id 'BackId': id
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment