|
@@ -20,7 +20,7 @@
|
|
|
<el-dialog :visible.sync="dialogVisible_add" title="素材上传" width="600px" top="32px">
|
|
|
<el-form ref="addForm" label-width="80px" label-position="right" size="medium">
|
|
|
<el-form-item label="上传路径:" prop="title">
|
|
|
- <el-input v-model="subPath" placeholder="例:stores/factory/" />
|
|
|
+ <el-input v-model="subPath" placeholder="例:stores/material/" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="文件:" style="width:400px">
|
|
|
<el-upload
|
|
@@ -42,7 +42,7 @@
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
import { upload_file } from '@/api/projection'
|
|
|
import { scrollTo } from '@/utils/scrollTo'
|
|
@@ -51,7 +51,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
dialogVisible_add: false,
|
|
|
- subPath: '',
|
|
|
+ subPath: 'stores/material/',
|
|
|
params: null,
|
|
|
img_url: [
|
|
|
// {
|