docs: Update all files JSDoc.
This commit is contained in:
@@ -369,7 +369,7 @@
|
||||
},
|
||||
/**
|
||||
* 選擇該 files 進入 Discover/Compare/Design 頁面
|
||||
* @param {object} file
|
||||
* @param {object} file 該 file 的詳細資料
|
||||
*/
|
||||
enterDiscover(file){
|
||||
let type;
|
||||
@@ -409,8 +409,8 @@
|
||||
},
|
||||
/**
|
||||
* Right Click DOM Event
|
||||
* @param {event} event
|
||||
* @param {string} file
|
||||
* @param {event} event 該 file 的詳細資料
|
||||
* @param {string} file file's name
|
||||
*/
|
||||
onRightClick(event, file) {
|
||||
this.selectedType = file.type;
|
||||
@@ -420,7 +420,7 @@
|
||||
},
|
||||
/**
|
||||
* Right Click Table DOM Event
|
||||
* @param {event} event
|
||||
* @param {event} event 該 file 的詳細資料
|
||||
*/
|
||||
onRightClickTable(event) {
|
||||
this.selectedType = event.data.type;
|
||||
@@ -430,8 +430,8 @@
|
||||
},
|
||||
/**
|
||||
* Right Click Gride Card DOM Event
|
||||
* @param {event} event
|
||||
* @param {number} index
|
||||
* @param {event} event 該 file 的詳細資料
|
||||
* @param {number} index 該 file 的 index
|
||||
*/
|
||||
onGridCardClick(file, index) {
|
||||
this.selectedType = file.type;
|
||||
@@ -441,10 +441,10 @@
|
||||
},
|
||||
/**
|
||||
* File's Rename
|
||||
* @param {string} type
|
||||
* @param {number} id
|
||||
* @param {string} source hover icon
|
||||
* @param {string} fileName
|
||||
* @param {string} type 該檔案的 type
|
||||
* @param {number} id 該檔案的 id
|
||||
* @param {string} source hover icon 該檔案的 icon
|
||||
* @param {string} fileName file's name
|
||||
*/
|
||||
rename(type, id, source, fileName) {
|
||||
if(type && id && source === 'list-hover') {
|
||||
@@ -456,9 +456,9 @@
|
||||
},
|
||||
/**
|
||||
* Delete file
|
||||
* @param {string} type
|
||||
* @param {number} id
|
||||
* @param {string} source hover icon
|
||||
* @param {string} type 該檔案的 type
|
||||
* @param {number} id 該檔案的 id
|
||||
* @param {string} source hover icon 該檔案的 icon
|
||||
*/
|
||||
async deleteFile(type, id, name, source) {
|
||||
let srt = '';
|
||||
@@ -516,9 +516,9 @@
|
||||
},
|
||||
/**
|
||||
* Download file as CSV
|
||||
* @param {string} type
|
||||
* @param {number} id
|
||||
* @param {string} source hover icon
|
||||
* @param {string} type 該檔案的 type
|
||||
* @param {number} id 該檔案的 id
|
||||
* @param {string} source hover icon 該檔案的 icon
|
||||
*/
|
||||
download(type, id, source, name) {
|
||||
if(type && id && source === 'list-hover' && name) {
|
||||
@@ -555,7 +555,7 @@
|
||||
this.$router.push({name: 'CompareDashboard', params: params});
|
||||
},
|
||||
/**
|
||||
*
|
||||
* Grid 模板時的篩選器
|
||||
* @param {event} event choose columnType item
|
||||
*/
|
||||
getGridSortData(event) {
|
||||
|
||||
Reference in New Issue
Block a user