mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-21 18:35:53 +08:00
批量上传、添加注释
This commit is contained in:
@@ -22,7 +22,7 @@ export default {
|
||||
this.init();
|
||||
},
|
||||
methods: {
|
||||
clear() {
|
||||
clear() { // 引用该组件的父组件会调用
|
||||
this.data = [];
|
||||
this.selectedWay = [];
|
||||
this.init();
|
||||
@@ -49,13 +49,9 @@ export default {
|
||||
*/
|
||||
open(val, index) {
|
||||
if (val) {
|
||||
// console.warn(val);
|
||||
//已选中的地址
|
||||
let checkedData = this.$store.state.shipTemplate;
|
||||
|
||||
// console.warn(this.$store.state.shipTemplate);
|
||||
// 禁止选中的地址
|
||||
|
||||
let checkData = [];
|
||||
let disabledData = checkedData.filter((item, i) => {
|
||||
if (i != index) {
|
||||
@@ -177,7 +173,7 @@ export default {
|
||||
|
||||
this.cancel();
|
||||
},
|
||||
|
||||
// 初始化地区数据
|
||||
init() {
|
||||
getAllCity().then((res) => {
|
||||
if (res.result) {
|
||||
|
||||
Reference in New Issue
Block a user